Mercurial > kallithea
diff rhodecode/lib/middleware/simplegit.py @ 2407:8a68e0292232 beta
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
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 06 Jun 2012 22:23:27 +0200 |
parents | 2eeb2ed72e55 |
children | 6af1e0d5ff9d |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py Wed Jun 06 21:48:53 2012 +0200 +++ b/rhodecode/lib/middleware/simplegit.py Wed Jun 06 22:23:27 2012 +0200 @@ -271,7 +271,7 @@ def _handle_githooks(self, repo_name, action, baseui, environ): """ - Handles pull action, push is handled by pre-receive hook + Handles pull action, push is handled by post-receive hook """ from rhodecode.lib.hooks import log_pull_action service = environ['QUERY_STRING'].split('=')