D7347: index: use `index.get_rev` in `exchange._pullapplyphases`

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Sat Nov 9 00:20:51 EST 2019


marmoute updated this revision to Diff 17849.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7347?vs=17770&id=17849

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7347/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7347

AFFECTED FILES
  mercurial/exchange.py

CHANGE DETAILS

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -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
 



To: marmoute, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list