# HG changeset patch # User Pierre-Yves David # Date 1573302233 -3600 # Node ID 4d8a4ecbb8b93973ccc3ded642da4eab1d557507 # Parent a49b2e253035769f26b1bbdb3ce6157366875e6c index: use `index.get_rev` in `exchange._pullapplyphases` Differential Revision: https://phab.mercurial-scm.org/D7347 diff -r a49b2e253035 -r 4d8a4ecbb8b9 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