Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 4224:2a8b6d78d7ee
Merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 15 Mar 2007 18:57:47 -0500 |
parents | 40030c1b6bc6 90bb1ab53a85 |
children | 1b5c38e9d7aa |
line wrap: on
line diff
--- a/mercurial/revlog.py Thu Mar 15 09:51:44 2007 +0100 +++ b/mercurial/revlog.py Thu Mar 15 18:57:47 2007 -0500 @@ -428,10 +428,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