Skip to content
Snippets Groups Projects
Commit f46c6b55 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

bench-commit: move cache warming in an utility method

parent a7f5bd58
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@
# Rollback and clean
if needrollback:
self.hg('rollback', '--config', 'ui.rollback=true')
self.hg('debugupdatecache')
self.update_repo_cache()
self.hg('update', '-C', '.')
return median(timings)
......
......@@ -496,6 +496,8 @@
raise
raise
def update_repo_cache(self):
self.hg('debugupdatecache')
def _getperfext(self, version):
"""given a mercurial-core node (or None) return a path to perfext
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment