# HG changeset patch # User Benoit Boissinot # Date 2006-10-29 15:14:02 # Node ID 8dbbe4dadb4869c05454c489230f559f1082324c # Parent 8ee579885d236fedc2fb96da8cbe1235a173e1ad revlog: return 0 as offset for nullid diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -491,7 +491,7 @@ class revlog(object): 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]