Mercurial > hg
changeset 13260:911a4499adb0
perf: fix ordering of invalidate in perfindex
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 12 Jan 2011 11:34:42 -0600 |
parents | 3b616dfa4b17 |
children | 20a54bdf2328 |
files | contrib/perf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/perf.py Tue Jan 11 21:52:03 2011 -0600 +++ b/contrib/perf.py Wed Jan 12 11:34:42 2011 -0600 @@ -84,8 +84,8 @@ mercurial.revlog._prereadsize = 2**24 # disable old lazy parser n = repo["tip"].node() def d(): + repo.invalidate() repo[n] - repo.invalidate() timer(d) def perfstartup(ui, repo):