# HG changeset patch # User Marcin Kuzminski # Date 2013-03-25 21:17:17 # Node ID 35454cd8233b057e2a5f3fc59da107a3642f8432 # Parent 6750e8b5d234eed9659f34c7df21c1d9a1561018 kill depracated .ui objects on git repos 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): """