stablerange: remove now unnecessary setter
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 19 Mar 2017 04:47:31 +0100
changeset 2134 b86b94434de7
parent 2133 323480863248
child 2135 8f63f4b1c33e
stablerange: remove now unnecessary setter The class is handling all computations and cache access by itself now. So we can drop this method.
hgext3rd/evolve/stablerange.py
--- 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)