index: use `index.get_rev` in `obsolete._computephasedivergentset`
Differential Revision: https://phab.mercurial-scm.org/D7336
--- 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())'):