mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
Fix linknode test failure
This commit is contained in:
parent
3c6137f555
commit
5a628dc440
@ -301,6 +301,9 @@ class remotefilelog(object):
|
||||
# be stripped, resulting in a permanently broken map.
|
||||
if relativeto:
|
||||
p1, p2, linknode, copyfrom = mapping[node]
|
||||
if not linknode in self.repo:
|
||||
return False
|
||||
|
||||
cl = self.repo.changelog
|
||||
common = cl.ancestor(linknode, relativeto)
|
||||
if common != linknode:
|
||||
|
Loading…
Reference in New Issue
Block a user