stablerange: stop using '.node' in debugstablerange
We access the range-head revision number by index and convert it on site.
--- a/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 06:04:30 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py Wed Mar 22 06:05:32 2017 +0100
@@ -394,11 +394,12 @@
revs = scmutil.revrange(repo, opts['rev'])
# prewarm depth cache
repo.stablerange.warmup(repo, revs)
+ cl = repo.changelog
ranges = stablerange.subrangesclosure(repo, revs)
ui.status('rev node index size depth obshash\n')
for r in ranges:
d = (r.head,
- s(r.node),
+ s(cl.node(r[0])),
r.index,
len(r),
r.depth,