Patchwork D7316: revlog: return the nodemap as the nodecache

login
register
mail settings
Submitter phabricator
Date Nov. 9, 2019, 1:55 a.m.
Message ID <98ab3145dd6a8a446c464e2fda952b50@localhost.localdomain>
Download mbox | patch
Permalink /patch/43007/
State Not Applicable
Headers show

Comments

phabricator - Nov. 9, 2019, 1:55 a.m.
Closed by commit rHGc72464ccd3ca: revlog: return the nodemap as the nodecache (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7316?vs=17732&id=17829

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7316/new/

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

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -630,7 +630,7 @@ 
             # populate mapping down to the initial node
             node0 = self.index[0][7]  # get around changelog filtering
             self.rev(node0)
-        return self._nodecache
+        return self.index.nodemap
 
     def hasnode(self, node):
         try: