##// END OF EJS Templates
don't invalidate cache before handling hook
marcink -
r3277:5440ea1d beta
parent child Browse files
Show More
@@ -228,11 +228,10 b' class SimpleGit(BaseVCSController):'
228 self.__inject_extras(repo_path, baseui, extras)
228 self.__inject_extras(repo_path, baseui, extras)
229
229
230 try:
230 try:
231 self._handle_githooks(repo_name, action, baseui, environ)
231 # invalidate cache on push
232 # invalidate cache on push
232 if action == 'push':
233 if action == 'push':
233 self._invalidate_cache(repo_name)
234 self._invalidate_cache(repo_name)
234 self._handle_githooks(repo_name, action, baseui, environ)
235
236 log.info('%s action on GIT repo "%s" by "%s" from %s' %
235 log.info('%s action on GIT repo "%s" by "%s" from %s' %
237 (action, repo_name, username, ip_addr))
236 (action, repo_name, username, ip_addr))
238 app = self.__make_app(repo_name, repo_path, extras)
237 app = self.__make_app(repo_name, repo_path, extras)
General Comments 0
You need to be logged in to leave comments. Login now