changeset 43573:d3df05bab081

revlog: drop special hack in the `nodemap` property This code does not seems necessary anymore. Differential Revision: https://phab.mercurial-scm.org/D7361
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 09 Nov 2019 13:23:55 +0100
parents c314177eb9bb
children 02802fa87b74
files mercurial/revlog.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Sat Nov 09 13:23:55 2019 +0100
+++ b/mercurial/revlog.py	Sat Nov 09 13:23:55 2019 +0100
@@ -652,10 +652,6 @@
 
     @util.propertycache
     def nodemap(self):
-        if self.index:
-            # populate mapping down to the initial node
-            node0 = self.index[0][7]  # get around changelog filtering
-            self.rev(node0)
         return self.index.nodemap
 
     @property