Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 29836:426d931e5db2
manifest: introduce manifestlog and manifestctx classes
This is the start of a large refactoring of the manifest class. It introduces
the new manifestlog and manifestctx classes which will represent the collection
of all manifests and individual instances, respectively.
Future patches will begin to convert usages of repo.manifest to
repo.manifestlog, adding the necessary functionality to manifestlog and instance
as they are needed.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 17 Aug 2016 13:25:13 -0700 |
parents | b9ee2a1c4e9c |
children | 93b44aa17691 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Aug 17 13:25:13 2016 -0700 +++ b/mercurial/localrepo.py Wed Aug 17 13:25:13 2016 -0700 @@ -504,6 +504,10 @@ def manifest(self): return manifest.manifest(self.svfs) + @storecache('00manifest.i') + def manifestlog(self): + return manifest.manifestlog(self.svfs, self.manifest) + @repofilecache('dirstate') def dirstate(self): return dirstate.dirstate(self.vfs, self.ui, self.root,