mercurial/discovery.py
changeset 43560 65d6770273c8
parent 43117 8ff1ecfadcd1
child 44306 a0ec05d93c8e
child 44450 7d5455b988ec
--- a/mercurial/discovery.py	Sat Nov 09 13:23:52 2019 +0100
+++ b/mercurial/discovery.py	Sat Nov 09 13:23:53 2019 +0100
@@ -499,7 +499,7 @@
     repo = pushop.repo
     unfi = repo.unfiltered()
     tonode = unfi.changelog.node
-    torev = unfi.changelog.nodemap.get
+    torev = unfi.changelog.index.get_rev
     public = phases.public
     getphase = unfi._phasecache.phase
     ispublic = lambda r: getphase(unfi, r) == public