changeset 43556:505a2bc53759

index: use `index.get_rev` in `phases.newheads` Differential Revision: https://phab.mercurial-scm.org/D7332
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 09 Nov 2019 13:23:52 +0100
parents ded3d545b6f0
children acaff50079ff
files mercurial/phases.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/phases.py	Sat Nov 09 13:23:51 2019 +0100
+++ b/mercurial/phases.py	Sat Nov 09 13:23:52 2019 +0100
@@ -733,7 +733,7 @@
 
     repo = repo.unfiltered()
     cl = repo.changelog
-    rev = cl.nodemap.get
+    rev = cl.index.get_rev
     if not roots:
         return heads
     if not heads or heads == [nullid]: