# HG changeset patch # User Pierre-Yves David # Date 1534503373 -7200 # Node ID 45811d3507a7b16bfe40bb2f78d9397dcf01923f # Parent d2e9a03fb3f780596e7a779d3d79da91a68ec763 stablerange: save stablesort cache alongside the stablerange one This one does not introduce inconsistency but helps performance. G: changed hgext3rd/evolve/stablerangecache.py diff -r d2e9a03fb3f7 -r 45811d3507a7 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