Show More
@@ -771,10 +771,6 b' class revlog(object):' | |||||
771 | nl = [n for n in nl if hex(n).startswith(id)] |
|
771 | nl = [n for n in nl if hex(n).startswith(id)] | |
772 | if len(nl) > 0: |
|
772 | if len(nl) > 0: | |
773 | if len(nl) == 1: |
|
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 | self._pcache[id] = nl[0] |
|
774 | self._pcache[id] = nl[0] | |
779 | return nl[0] |
|
775 | return nl[0] | |
780 | raise LookupError(id, self.indexfile, |
|
776 | raise LookupError(id, self.indexfile, |
General Comments 0
You need to be logged in to leave comments.
Login now