Mercurial > hg-stable
diff mercurial/revlog.py @ 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 | 9fb7d3a05882 |
children | cac2c17bec5a |
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]