D7341: index: use `index.get_rev` in `discovery._postprocessobsolete`
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sat Nov 9 10:58:32 EST 2019
Closed by commit rHG8ab1295dda6b: index: use `index.get_rev` in `discovery._postprocessobsolete` (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7341?vs=17764&id=17897
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7341/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7341
AFFECTED FILES
mercurial/discovery.py
CHANGE DETAILS
diff --git a/mercurial/discovery.py b/mercurial/discovery.py
--- a/mercurial/discovery.py
+++ b/mercurial/discovery.py
@@ -499,7 +499,7 @@
repo = pushop.repo
unfi = repo.unfiltered()
tonode = unfi.changelog.node
- torev = unfi.changelog.nodemap.get
+ torev = unfi.changelog.index.get_rev
public = phases.public
getphase = unfi._phasecache.phase
ispublic = lambda r: getphase(unfi, r) == public
To: marmoute, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list