mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
findcommonoutgoing: use githandler from repo
This commit is contained in:
parent
068acd034c
commit
886532ea23
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user