D4278: manifest: rename manifestlog._treeinmem to ._treemanifests

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Aug 22 12:38:10 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG071f97d03acb: manifest: rename manifestlog._treeinmem to ._treemanifests (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4278?vs=10350&id=10525

REVISION DETAIL
  https://phab.mercurial-scm.org/D4278

AFFECTED FILES
  mercurial/manifest.py

CHANGE DETAILS

diff --git a/mercurial/manifest.py b/mercurial/manifest.py
--- a/mercurial/manifest.py
+++ b/mercurial/manifest.py
@@ -1418,7 +1418,8 @@
         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 @@
                 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)



To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list