mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
repo: replace repo.parents() by repo[None].parents()
repo.parents() was removed in hg revision d5d613de0f44 (commands: inline definition of localrepo.parents() and drop the method (API), 2015-11-11).
This commit is contained in:
parent
8f7ee3c1b1
commit
7251d9b51b
@ -143,7 +143,7 @@ def wraprepo(repo):
|
||||
|
||||
if lookup:
|
||||
files = []
|
||||
parents = repo.parents()
|
||||
parents = repo[None].parents()
|
||||
for fname in lookup:
|
||||
for ctx in parents:
|
||||
if fname in ctx:
|
||||
|
Loading…
Reference in New Issue
Block a user