##// END OF EJS Templates
revlog: fix a regression with null revision...
Alexander Plavin -
r19060:c010cb6f default
parent child Browse files
Show More
@@ -771,10 +771,6 b' class revlog(object):'
771 771 nl = [n for n in nl if hex(n).startswith(id)]
772 772 if len(nl) > 0:
773 773 if len(nl) == 1:
774 if nl[0] == nullid:
775 # dummy null revision always exists,
776 # it shouldn't be returned here
777 return None
778 774 self._pcache[id] = nl[0]
779 775 return nl[0]
780 776 raise LookupError(id, self.indexfile,
@@ -1542,7 +1542,6 b' have 2 filelog topological heads in a li'
1542 1542 $ testlog --follow
1543 1543 []
1544 1544 []
1545 abort: unknown revision '0'!
1546 1545 $ echo a > a
1547 1546 $ echo aa > aa
1548 1547 $ echo f > f
General Comments 0
You need to be logged in to leave comments. Login now