mercurial/pure/parsers.py
changeset 44034 ab595920de0e
parent 43619 c207c46a86b9
child 44313 6f9e8e142cea
--- a/mercurial/pure/parsers.py	Sun Dec 29 21:10:04 2019 -0500
+++ b/mercurial/pure/parsers.py	Tue Jan 07 12:26:37 2020 +0100
@@ -13,10 +13,11 @@
 from ..node import nullid, nullrev
 from .. import (
     pycompat,
-    revlogutils,
     util,
 )
 
+from ..revlogutils import nodemap as nodemaputil
+
 stringio = pycompat.bytesio
 
 
@@ -55,7 +56,7 @@
 
     @util.propertycache
     def _nodemap(self):
-        nodemap = revlogutils.NodeMap({nullid: nullrev})
+        nodemap = nodemaputil.NodeMap({nullid: nullrev})
         for r in range(0, len(self)):
             n = self[r][7]
             nodemap[n] = r