Mercurial > public > mercurial-scm > hg
diff mercurial/debugcommands.py @ 36952:b24cde12061b
debugupdatecache: also warm rev branch cache
We add basic code to have `debugupdatecache` ensure that the rev branch cache
is fully warmed. This only affects the `debugupdatecache` command, not normal
transaction operation.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 21 Feb 2018 17:21:10 +0100 |
parents | c92d1d3c58ee |
children | efc4fb344c05 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Wed Feb 21 17:16:56 2018 +0100 +++ b/mercurial/debugcommands.py Wed Feb 21 17:21:10 2018 +0100 @@ -2482,7 +2482,7 @@ def debugupdatecaches(ui, repo, *pats, **opts): """warm all known caches in the repository""" with repo.wlock(), repo.lock(): - repo.updatecaches() + repo.updatecaches(full=True) @command('debugupgraderepo', [ ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')),