mercurial/obsolete.py
changeset 43558 1542773ffa5d
parent 43506 9f70512ae2cf
child 44060 a61287a95dc3
--- a/mercurial/obsolete.py	Sat Nov 09 13:23:52 2019 +0100
+++ b/mercurial/obsolete.py	Sat Nov 09 13:23:52 2019 +0100
@@ -980,7 +980,7 @@
     phase = repo._phasecache.phase  # would be faster to grab the full list
     public = phases.public
     cl = repo.changelog
-    torev = cl.nodemap.get
+    torev = cl.index.get_rev
     tonode = cl.node
     obsstore = repo.obsstore
     for rev in repo.revs(b'(not public()) and (not obsolete())'):