changeset 3584:8dbbe4dadb48

revlog: return 0 as offset for nullid
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 29 Oct 2006 16:14:02 +0100
parents 8ee579885d23
children cac2c17bec5a
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]