mercurial/obsutil.py
changeset 43605 acaff50079ff
parent 43589 1944aaaecabf
child 43705 32048206e7be
--- a/mercurial/obsutil.py	Sat Nov 09 13:23:52 2019 +0100
+++ b/mercurial/obsutil.py	Sat Nov 09 13:23:52 2019 +0100
@@ -478,7 +478,7 @@
 
 def getobsoleted(repo, tr):
     """return the set of pre-existing revisions obsoleted by a transaction"""
-    torev = repo.unfiltered().changelog.nodemap.get
+    torev = repo.unfiltered().changelog.index.get_rev
     phase = repo._phasecache.phase
     succsmarkers = repo.obsstore.successors.get
     public = phases.public