changeset 2134:b86b94434de7

stablerange: remove now unnecessary setter The class is handling all computations and cache access by itself now. So we can drop this method.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 19 Mar 2017 04:47:31 +0100
parents 323480863248
children 8f63f4b1c33e
files hgext3rd/evolve/stablerange.py
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)