revlog: return 0 as offset for nullid
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 29 Oct 2006 16:14:02 +0100
changeset 3584 8dbbe4dadb48
parent 3583 8ee579885d23
child 3585 cac2c17bec5a
revlog: return 0 as offset for nullid
mercurial/revlog.py
--- a/mercurial/revlog.py	Sun Oct 29 15:09:01 2006 +0100
+++ b/mercurial/revlog.py	Sun Oct 29 16:14:02 2006 +0100
@@ -491,7 +491,7 @@
         return d
     def start(self, rev):
         if rev < 0:
-            return nullrev
+            return 0
         if self.version != REVLOGV0:
             return self.ngoffset(self.index[rev][0])
         return self.index[rev][0]