mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
Fixed revlog.children.
It was comparing a node to a rev, then appending a rev onto the list of children being constructed instead of a node.
This commit is contained in:
parent
dbc75fd4ed
commit
34dcd4a098
@ -185,8 +185,8 @@ class revlog:
|
||||
for r in range(p + 1, self.count()):
|
||||
n = self.node(r)
|
||||
for pn in self.parents(n):
|
||||
if pn == p:
|
||||
c.append(p)
|
||||
if pn == node:
|
||||
c.append(n)
|
||||
continue
|
||||
elif pn == nullid:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user