diff mercurial/revlog.py @ 4314:43dedce9667e

revlog.py: fix/tweak read ahead code in lazyparser
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 07 Apr 2007 04:27:55 -0300
parents 90bb1ab53a85
children aa26759c6fb3 769cc8ef5b72
line wrap: on
line diff
--- 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: