Mercurial > public > mercurial-scm > hg-stable
diff contrib/perf.py @ 30380:10c924596e5c
manifest: move clearcaches to manifestlog
This is part of removing all functionality from manifest.manifest so we can
delete the class entirely.
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 10 Nov 2016 02:13:19 -0800 |
parents | d79c141fdf41 |
children | e77e8876886f |
line wrap: on
line diff
--- a/contrib/perf.py Thu Nov 10 02:13:19 2016 -0800 +++ b/contrib/perf.py Thu Nov 10 02:13:19 2016 -0800 @@ -566,7 +566,7 @@ ctx = scmutil.revsingle(repo, rev, rev) t = ctx.manifestnode() def d(): - repo.manifest.clearcaches() + repo.manifestlog.clearcaches() repo.manifestlog[t].read() timer(d) fm.end()