# HG changeset patch # User Gregory Szorc # Date 2018-08-10 22:06:41 # Node ID 071f97d03acb73e25ee75dcb196e56dd8e647ec1 # Parent 73cf21b2e8a6de6c287e953ec9030dc9f931e0bc manifest: rename manifestlog._treeinmem to ._treemanifests Not sure what "inmem" was supposed to indicate. This object is an interface to manifest data on disk as well as "in memory" (assuming that's what "inmem" means). Differential Revision: https://phab.mercurial-scm.org/D4278 diff --git a/mercurial/manifest.py b/mercurial/manifest.py --- a/mercurial/manifest.py +++ b/mercurial/manifest.py @@ -1418,7 +1418,8 @@ class manifestlog(object): if opts is not None: usetreemanifest = opts.get('treemanifest', usetreemanifest) cachesize = opts.get('manifestcachesize', cachesize) - self._treeinmem = usetreemanifest + + self._treemanifests = usetreemanifest self._revlog = repo._constructmanifest() self._revlog._setupmanifestcachehooks(repo) @@ -1466,7 +1467,7 @@ class manifestlog(object): if node not in self._revlog.nodemap: raise LookupError(node, self._revlog.indexfile, _('no node')) - if self._treeinmem: + if self._treemanifests: m = treemanifestctx(self, '', node) else: m = manifestctx(self, node)