perf: restore lazyindex hack

This hack (and the module it lives in) exist so that performance can
be compared across different hg versions.
This commit is contained in:
Matt Mackall 2011-01-18 15:55:49 -06:00
parent 856c224de7
commit dc0a2bb9fd

View File

@ -81,6 +81,7 @@ def perfmanifest(ui, repo):
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()