Mercurial > hg
changeset 19711:0a881ea4bed4
perfmanifest: fix cache invalidation
The manifest cache is now stored in _mancache. The revlog cache is still stored
in _cache.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 06 Sep 2013 13:20:07 -0700 |
parents | 887ffa22fd0d |
children | 79e5de2bfa8c |
files | contrib/perf.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/perf.py Fri Sep 06 13:16:21 2013 -0700 +++ b/contrib/perf.py Fri Sep 06 13:20:07 2013 -0700 @@ -175,9 +175,9 @@ def perfmanifest(ui, repo): def d(): t = repo.manifest.tip() + repo.manifest._mancache.clear() + repo.manifest._cache = None repo.manifest.read(t) - repo.manifest.mapcache = None - repo.manifest._cache = None timer(d) @command('perfchangeset')