mercurial/pure/parsers.py
changeset 43531 dcf9826c8d8c
parent 43525 845e5b313783
child 43533 642433629e20
--- a/mercurial/pure/parsers.py	Sat Nov 02 15:46:47 2019 +0100
+++ b/mercurial/pure/parsers.py	Sun Nov 03 00:15:12 2019 +0100
@@ -62,6 +62,8 @@
         return self._lgt + len(self._extra)
 
     def append(self, tup):
+        if 'nodemap' in vars(self):
+            self.nodemap[tup[7]] = len(self)
         self._extra.append(tup)
 
     def _check_index(self, i):