stablerange: save stablesort cache alongside the stablerange one
This one does not introduce inconsistency but helps performance.
G: changed hgext3rd/evolve/stablerangecache.py
--- a/hgext3rd/evolve/stablerangecache.py Fri Aug 17 12:07:55 2018 +0200
+++ b/hgext3rd/evolve/stablerangecache.py Fri Aug 17 12:56:13 2018 +0200
@@ -225,6 +225,8 @@
def _save(self, repo):
repo = repo.unfiltered()
repo.depthcache.save(repo)
+ if 'stablesort' in vars(repo):
+ repo.stablesort.save(repo)
if not self._unsavedsubranges:
return # no new data