# HG changeset patch # User Alexis S. L. Carvalho # Date 2007-04-07 07:27:55 # Node ID 43dedce9667ec45e9ad23a9e988887a0ed6c76ca # Parent 4787e2b0dd03698d32e92008bebca9bb39274446 revlog.py: fix/tweak read ahead code in lazyparser diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -213,7 +213,7 @@ class lazyparser(object): end = end * self.s blocksize = end - blockstart else: - blockstart = (i & ~(32)) * self.s + blockstart = (i & ~63) * self.s blocksize = self.s * 64 end = blockstart + blocksize while blockstart < end: