changeset 3247:d8e6c5338053

deptcache: make sure we warm the dept cache before warming the obsdiscovery The depthcache need to a warmed a bit more agressively
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 09 Dec 2017 17:34:33 +0100
parents 543708c3f754
children 07c9b6f445bf
files hgext3rd/evolve/obsdiscovery.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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))