contrib/perf.py
changeset 27467 fbe292b591ec
parent 27382 de7bcbc68042
child 27470 d394a1a3708a
--- a/contrib/perf.py	Sun Dec 20 19:31:46 2015 -0800
+++ b/contrib/perf.py	Sun Dec 20 17:57:44 2015 -0800
@@ -273,8 +273,7 @@
     ctx = scmutil.revsingle(repo, rev, rev)
     t = ctx.manifestnode()
     def d():
-        repo.manifest._mancache.clear()
-        repo.manifest._cache = None
+        repo.manifest.clearcaches()
         repo.manifest.read(t)
     timer(d)
     fm.end()