slicesrangeat: stop double setting the revsinranges cache
The cache should have already been filled by the logic warming the cache for the
parent.
--- a/hgext3rd/evolve/stablerange.py Thu Mar 23 10:44:12 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py Thu Mar 23 10:49:03 2017 +0100
@@ -362,10 +362,9 @@
topsize = rangedepth - globalindex
parentrange = (p1, rangeid[1])
- # if we have an entry for the current range, lets update the cache
if rangeid in self._revsinrangecache:
- parentrevs = self._revsinrangecache[rangeid][:-1]
- self._revsinrangecache[parentrange] = parentrevs
+ # revs cache should have been filled by _unpreparedparentrange
+ assert parentrange in self._revsinrangecache
if topsize == 1:
top = (rangeid[0], globalindex)