stablerange: remove now unnecessary setter
The class is handling all computations and cache access by itself now. So we can
drop this method.
--- a/hgext3rd/evolve/stablerange.py Sun Mar 19 04:45:28 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py Sun Mar 19 04:47:31 2017 +0100
@@ -233,11 +233,6 @@
self._subrangescache[rangeid] = value
return value
- def setsubranges(self, rangeid, value):
- # XXX temporary cache setter as value computation are performed outside
- # this class reach.
- return self._subrangescache.get(rangeid)
-
def _slicepoint(self, repo, rangeid):
rangedepth = self.depthrev(repo, rangeid.head)
step = _hlp2(rangedepth)