stablerange: stop using '.node' in subrangesclosure
We access the range-head revision number by index and convert it on site.
--- a/hgext3rd/evolve/stablerange.py Wed Mar 22 05:15:49 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 06:02:45 2017 +0100
@@ -144,7 +144,8 @@
ranges.add(r)
toproceed.append(r)
ranges = list(ranges)
- ranges.sort(key=lambda r: (-len(r), r.node))
+ n = repo.changelog.node
+ ranges.sort(key=lambda r: (-len(r), n(r[0])))
return ranges
class stablerangecache(dict):