findcommonoutgoing: use githandler from repo

This commit is contained in:
Siddharth Agarwal 2014-02-19 15:13:43 -08:00
parent 068acd034c
commit 886532ea23

View File

@ -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,