changeset 2201:8d371329e8b9

stablecache: warmup on unfiltered repository We only looks at ancestors revision so filtering will not have any effect. This reduce overhead from the filtering.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 22 Mar 2017 22:05:30 +0100
parents d5a216dce71c
children 5f8a2604bb2b
files hgext3rd/evolve/stablerange.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/stablerange.py	Wed Mar 22 21:11:35 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py	Wed Mar 22 22:05:30 2017 +0100
@@ -177,6 +177,7 @@
 
     def warmup(self, repo, heads):
         """warm the cache up to 'heads'"""
+        repo = repo.unfiltered()
         for r in repo.revs("::%ld", heads):
             self.depthrev(repo, r)