Comments
Patch
@@ -407,8 +407,7 @@ def perftags(ui, repo, **opts):
repocleartagscache = repocleartagscachefunc(repo)
def t():
repo.changelog = mercurial.changelog.changelog(svfs)
- repo.manifestlog = mercurial.manifest.manifestlog(svfs,
- repo.manifestaccessor)
+ repo.manifestaccessor.clear(True)
repocleartagscache()
return len(repo.tags())
timer(t)
@@ -517,7 +517,7 @@ class localrepository(object):
return revlogaccessor('00manifest.i', svfs,
_constructmanifest)
- @storecache('00manifest.i')
+ @unfilteredpropertycache
def manifestlog(self):
return manifest.manifestlog(self.svfs, self.manifestaccessor)
@@ -18,7 +18,6 @@ from . import (
changelog,
error,
localrepo,
- manifest,
namespaces,
scmutil,
store,
@@ -155,8 +154,6 @@ class statichttprepository(localrepo.loc
self._filecache = {}
self.requirements = requirements
- self.manifestlog = manifest.manifestlog(self.svfs,
- self.manifestaccessor)
self.changelog = changelog.changelog(self.svfs)
self._tags = None
self.nodetagscache = None