diff --git a/hggit/__init__.py b/hggit/__init__.py index 48ad5e8ac8..f2e0d3ef64 100644 --- a/hggit/__init__.py +++ b/hggit/__init__.py @@ -156,8 +156,7 @@ extensions.wrapfunction(localrepo.localrepository, 'nodetags', sortednodetags) def findcommonoutgoing(orig, repo, other, *args, **kwargs): if isinstance(other, gitrepo.gitrepo): - git = GitHandler(repo, repo.ui) - heads = git.get_refs(other.path)[0] + heads = repo.githandler.get_refs(other.path)[0] kw = {} kw.update(kwargs) for val, k in zip(args,