deptcache: make sure we warm the dept cache before warming the obsdiscovery
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sat, 09 Dec 2017 17:34:33 +0100
changeset 3247 d8e6c5338053
parent 3246 543708c3f754
child 3248 07c9b6f445bf
deptcache: make sure we warm the dept cache before warming the obsdiscovery The depthcache need to a warmed a bit more agressively
hgext3rd/evolve/obsdiscovery.py
--- a/hgext3rd/evolve/obsdiscovery.py	Thu Nov 23 16:37:24 2017 +0100
+++ b/hgext3rd/evolve/obsdiscovery.py	Sat Dec 09 17:34:33 2017 +0100
@@ -451,6 +451,7 @@
             newrevs.extend(revs)
             revs = newrevs
 
+        repo.depthcache.update(repo)
         # warm the cache for the new revs
         for r in revs:
             _obshashrange(repo, (r, 0))