index: use `index.get_rev` in `exchange._pullapplyphases`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 09 Nov 2019 13:23:53 +0100
changeset 43563 4d8a4ecbb8b9
parent 43562 a49b2e253035
child 43564 698e11f7be6a
index: use `index.get_rev` in `exchange._pullapplyphases` Differential Revision: https://phab.mercurial-scm.org/D7347
mercurial/exchange.py
--- a/mercurial/exchange.py	Sat Nov 09 13:23:53 2019 +0100
+++ b/mercurial/exchange.py	Sat Nov 09 13:23:53 2019 +0100
@@ -2101,7 +2101,7 @@
         dheads = []
     unfi = pullop.repo.unfiltered()
     phase = unfi._phasecache.phase
-    rev = unfi.changelog.nodemap.get
+    rev = unfi.changelog.index.get_rev
     public = phases.public
     draft = phases.draft