Closed by commit rHGd294f0baf549: index: use `index.get_rev` in `phases.newheads` (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/D7332?vs=17755&id=17893 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D7332/new/ REVISION DETAIL https://phab.mercurial-scm.org/D7332 AFFECTED FILES mercurial/phases.py CHANGE DETAILS diff --git a/mercurial/phases.py b/mercurial/phases.py --- a/mercurial/phases.py +++ b/mercurial/phases.py @@ -733,7 +733,7 @@ repo = repo.unfiltered() cl = repo.changelog - rev = cl.nodemap.get + rev = cl.index.get_rev if not roots: return heads if not heads or heads == [nullid]: To: marmoute, #hg-reviewers, indygreg Cc: martinvonz, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel