Mercurial > kallithea
changeset 3353:e351161b8734
don't invalidate cache before handling hook
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 31 Jan 2013 01:37:38 +0100 |
parents | a602611c49e7 |
children | cf00e8d39f22 |
files | rhodecode/lib/middleware/simplegit.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py Sat Jan 26 22:08:16 2013 +0100 +++ b/rhodecode/lib/middleware/simplegit.py Thu Jan 31 01:37:38 2013 +0100 @@ -228,11 +228,10 @@ self.__inject_extras(repo_path, baseui, extras) try: + self._handle_githooks(repo_name, action, baseui, environ) # invalidate cache on push if action == 'push': self._invalidate_cache(repo_name) - self._handle_githooks(repo_name, action, baseui, environ) - log.info('%s action on GIT repo "%s" by "%s" from %s' % (action, repo_name, username, ip_addr)) app = self.__make_app(repo_name, repo_path, extras)