revlog.py: fix/tweak read ahead code in lazyparser
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Sat, 07 Apr 2007 04:27:55 -0300
changeset 4314 43dedce9667e
parent 4304 4787e2b0dd03
child 4315 bc6f5a1d8b7b
revlog.py: fix/tweak read ahead code in lazyparser
mercurial/revlog.py
--- a/mercurial/revlog.py	Thu Apr 05 16:43:18 2007 -0500
+++ b/mercurial/revlog.py	Sat Apr 07 04:27:55 2007 -0300
@@ -213,7 +213,7 @@
                 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: