stablerange: warm cache before using it in findrangemissing
We make sure the cache is fully up to date before starting to use it. Updating
all value is more efficient and this give us a single point where we update and
write on disk. Hopefully the cache have been kept up to date as we go anyway.
--- a/hgext3rd/evolve/obsdiscovery.py Fri Mar 24 15:56:57 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py Fri Mar 24 15:57:08 2017 +0100
@@ -240,6 +240,7 @@
missing = set()
heads = local.revs('heads(%ld)', probeset)
+ local.stablerange.warmup(local)
rangelength = local.stablerange.rangelength
subranges = local.stablerange.subranges