From 886532ea233f76636eec32c85695a73d578ba4a9 Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Wed, 19 Feb 2014 15:13:43 -0800 Subject: [PATCH] findcommonoutgoing: use githandler from repo --- hggit/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,