Fix small bug in nodesbetween if heads is [nullid].

This commit is contained in:
Eric Hopper 2005-10-07 17:07:57 -07:00
parent c37e9139de
commit b1d7ce2319

View File

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