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

login
register
mail settings
Submitter phabricator
Date Nov. 8, 2019, 4:27 p.m.
Message ID <differential-rev-PHID-DREV-pwxw46a2lwsfoiki7i7z-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42953/
State Superseded
Headers show

Comments

phabricator - Nov. 8, 2019, 4:27 p.m.
marmoute created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/exchange.py

CHANGE DETAILS




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

Patch

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