diff --git a/rhodecode/lib/hooks.py b/rhodecode/lib/hooks.py --- a/rhodecode/lib/hooks.py +++ b/rhodecode/lib/hooks.py @@ -419,7 +419,7 @@ def handle_git_receive(repo_path, revs, repo = repo.scm_instance else: #post push shouldn't use the cached instance never - repo = repo.scm_instance_no_cache + repo = repo.scm_instance_no_cache() repo.ui = baseui