mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
Fix small bug in nodesbetween if heads is [nullid].
This commit is contained in:
parent
c37e9139de
commit
b1d7ce2319
@ -310,6 +310,8 @@ class revlog:
|
||||
# So it is, real heads should not be the ancestors of
|
||||
# any other heads.
|
||||
heads.pop(n)
|
||||
if not ancestors:
|
||||
return ([], [], [])
|
||||
# Now that we have our set of ancestors, we want to remove any
|
||||
# roots that are not ancestors.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user