diff --git a/rhodecode/lib/hooks.py b/rhodecode/lib/hooks.py --- a/rhodecode/lib/hooks.py +++ b/rhodecode/lib/hooks.py @@ -347,8 +347,6 @@ def handle_git_receive(repo_path, revs, #post push shouldn't use the cached instance never repo = repo.scm_instance_no_cache() - repo.ui = baseui - if hook_type == 'pre': pre_push(baseui, repo) diff --git a/rhodecode/model/scm.py b/rhodecode/model/scm.py --- a/rhodecode/model/scm.py +++ b/rhodecode/model/scm.py @@ -443,7 +443,7 @@ class ScmModel(BaseModel): if repo.alias == 'hg': log_push_action(_scm_repo.ui, _scm_repo, node=revisions[0]) elif repo.alias == 'git': - log_push_action(_scm_repo.ui, _scm_repo, _git_revs=revisions) + log_push_action(None, _scm_repo, _git_revs=revisions) def _get_IMC_module(self, scm_type): """