# HG changeset patch # User Matt Mackall # Date 1174002953 18000 # Node ID 2216535f07d752e93f5626a9d9df1eae7934efef # Parent 90bb1ab53a853b4f52940186dc6010fdf2290903# Parent ea976f5f3fa38eeda7b2f399ae35e410b6599c64 Merge with crew diff -r ea976f5f3fa3 -r 2216535f07d7 mercurial/revlog.py --- a/mercurial/revlog.py Thu Mar 15 09:49:45 2007 +0100 +++ b/mercurial/revlog.py Thu Mar 15 18:55:53 2007 -0500 @@ -425,10 +425,13 @@ self.nodemap[e[-1]] = n n += 1 if inline: + if e[1] < 0: + break off += e[1] if off > l: # some things don't seek well, just read it fp.read(off - l) + break if not st: break