diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-06-06 22:23:27 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-06-06 22:23:27 +0200 |
commit | 7c6a55f6e088862767d3662cb69e668f1c746cdd (patch) | |
tree | e368773613c67d06d68fbc9ad49033269e5ec91a /rhodecode/model/db.py | |
parent | 2f2d72e59e3dd06bee89f87efb3f459f836f3d83 (diff) |
Change git & hg hooks to post. They shouldn't block as they are used just for logging actions. Futhermore post hooks have access to changesets, so it's much better flexible
--HG--
branch : beta
Diffstat (limited to 'rhodecode/model/db.py')
-rwxr-xr-x | rhodecode/model/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py index 1baeb6f9..e9e4a91b 100755 --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -238,7 +238,7 @@ class RhodeCodeUi(Base, BaseModel): HOOK_UPDATE = 'changegroup.update' HOOK_REPO_SIZE = 'changegroup.repo_size' - HOOK_PUSH = 'pretxnchangegroup.push_logger' + HOOK_PUSH = 'changegroup.push_logger' HOOK_PULL = 'preoutgoing.pull_logger' ui_id = Column("ui_id", Integer(), nullable=False, unique=True, default=None, primary_key=True) |