stablerange: rename the class
This is much more than just a cache now.
--- a/hgext3rd/evolve/stablerange.py Thu Mar 23 09:40:04 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 21:11:35 2017 +0100
@@ -153,7 +153,7 @@
ranges.sort(key=lambda r: (-rangelength(repo, r), n(r[0])))
return ranges
-class stablerangecache(object):
+class stablerange(object):
def __init__(self):
self._depthcache = {}
@@ -398,6 +398,6 @@
@localrepo.unfilteredpropertycache
def stablerange(self):
- return stablerangecache()
+ return stablerange()
repo.__class__ = stablerangerepo