diff --git a/hggit/__init__.py b/hggit/__init__.py index 2659f63f0beb7c7bb5ede48888488e66395eecab_aGdnaXQvX19pbml0X18ucHk=..27fefb7e7cec752f8cca190da82961caf44d4c16_aGdnaXQvX19pbml0X18ucHk= 100644 --- a/hggit/__init__.py +++ b/hggit/__init__.py @@ -156,8 +156,7 @@ 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,