# HG changeset patch # User Siddharth Agarwal # Date 1378498807 25200 # Node ID 0a881ea4bed4adc474551746e773ac42d713cca2 # Parent 887ffa22fd0de2d749392f32a1171713e5fc94d6 perfmanifest: fix cache invalidation The manifest cache is now stored in _mancache. The revlog cache is still stored in _cache. diff -r 887ffa22fd0d -r 0a881ea4bed4 contrib/perf.py --- 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')