On Mon, 26 Nov 2018 19:26:06 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld <boris.f...@octobus.net> > # Date 1543149473 -3600 > # Sun Nov 25 13:37:53 2018 +0100 > # Node ID a2a4aabea58bef816eeb53e80ddaf0d438717c66 > # Parent cfaf3843491bde30916b89180d5f67561a22da28 > # EXP-Topic perf-tags > # Available At https://bitbucket.org/octobus/mercurial-devel/ > # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r > a2a4aabea58b > perf: stop creating new revlog by hand in perftags
Queued, thanks. > diff --git a/contrib/perf.py b/contrib/perf.py > --- a/contrib/perf.py > +++ b/contrib/perf.py > @@ -546,10 +546,8 @@ def perftags(ui, repo, **opts): > svfs = getsvfs(repo) > repocleartagscache = repocleartagscachefunc(repo) > def s(): > - repo.changelog = mercurial.changelog.changelog(svfs) > - rootmanifest = mercurial.manifest.manifestrevlog(svfs) > - repo.manifestlog = mercurial.manifest.manifestlog(svfs, repo, > - rootmanifest) > + clearchangelog(repo) > + clearfilecache(repo.unfiltered(), 'manifest') Removed several unused imports and variables in flight. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel