cache: ensure we warm stablerange cache before the obshashrange cache
I've been seeing traceback that seems to be happening because of issues in this
area.
--- a/hgext3rd/evolve/obsdiscovery.py Fri May 12 21:21:31 2017 +0200
+++ b/hgext3rd/evolve/obsdiscovery.py Tue May 16 11:21:41 2017 +0200
@@ -630,7 +630,7 @@
self.obsstore.rangeobshashcache.update(repo)
self.obsstore.rangeobshashcache.save(repo)
- tr.addpostclose('warmcache-obscacherange', _warmcache)
+ tr.addpostclose('warmcache-20-obscacherange', _warmcache)
return tr
repo.__class__ = obshashrepo
--- a/hgext3rd/evolve/stablerange.py Fri May 12 21:21:31 2017 +0200
+++ b/hgext3rd/evolve/stablerange.py Tue May 16 11:21:41 2017 +0200
@@ -902,7 +902,7 @@
# new nodes !
repo.stablerange.warmup(repo)
- tr.addpostclose('warmcache-stablerange', _warmcache)
+ tr.addpostclose('warmcache-10-stablerange', _warmcache)
return tr
repo.__class__ = stablerangerepo