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

login
register
mail settings
Submitter phabricator
Date Nov. 9, 2019, 5:20 a.m.
Message ID <2cd9716e32b1c9fc8a74efe5fa9002b9@localhost.localdomain>
Download mbox | patch
Permalink /patch/43035/
State Not Applicable
Headers show

Comments

phabricator - Nov. 9, 2019, 5:20 a.m.
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




To: marmoute, #hg-reviewers, indygreg
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