Mercurial > hg
changeset 43558:1542773ffa5d
index: use `index.get_rev` in `obsolete._computephasedivergentset`
Differential Revision: https://phab.mercurial-scm.org/D7336
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Nov 2019 13:23:52 +0100 |
parents | acaff50079ff |
children | 90de6bcdf226 |
files | mercurial/obsolete.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/obsolete.py Sat Nov 09 13:23:52 2019 +0100 +++ b/mercurial/obsolete.py Sat Nov 09 13:23:52 2019 +0100 @@ -980,7 +980,7 @@ phase = repo._phasecache.phase # would be faster to grab the full list public = phases.public cl = repo.changelog - torev = cl.nodemap.get + torev = cl.index.get_rev tonode = cl.node obsstore = repo.obsstore for rev in repo.revs(b'(not public()) and (not obsolete())'):