Fix linknode test failure

This commit is contained in:
Durham Goode 2013-10-09 10:20:47 -07:00
parent 3c6137f555
commit 5a628dc440

View File

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