contrib/perf.py
changeset 13277 9f707b297b0f
parent 13262 2f532ea537a6
child 14322 a90131b85fd8
--- a/contrib/perf.py	Tue Jan 18 15:55:48 2011 -0600
+++ b/contrib/perf.py	Tue Jan 18 15:55:49 2011 -0600
@@ -81,6 +81,7 @@
 
 def perfindex(ui, repo):
     import mercurial.revlog
+    mercurial.revlog._prereadsize = 2**24 # disable lazy parser in old hg
     n = repo["tip"].node()
     def d():
         repo.invalidate()