author | Matt Mackall <mpm@selenic.com> |
Thu, 15 Mar 2007 18:55:53 -0500 | |
changeset 4218 | 2216535f07d7 |
parent 4215 | 90bb1ab53a85 (diff) |
parent 4217 | ea976f5f3fa3 (current diff) |
child 4224 | 2a8b6d78d7ee |
child 4225 | 281f9f8f1bd4 |
--- 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