Changeset - 5440ea1d0628
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-01-31 01:37:38
marcin@python-works.com
don't invalidate cache before handling hook
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/middleware/simplegit.py
Show inline comments
 
@@ -228,11 +228,10 @@ class SimpleGit(BaseVCSController):
 
        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)
0 comments (0 inline, 0 general)