Mercurial > hg-stable
changeset 47309:e96f75857361
updatecaches: use the caches argument in `hg debugupdatecaches`
This is the new way.
Differential Revision: https://phab.mercurial-scm.org/D10729
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 17 May 2021 15:27:29 +0200 |
parents | 1337bfaa88ca |
children | 7edaf91c7886 |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Mon May 17 14:45:16 2021 +0200 +++ b/mercurial/debugcommands.py Mon May 17 15:27:29 2021 +0200 @@ -91,6 +91,7 @@ wireprotoserver, wireprotov2peer, ) +from .interfaces import repository from .utils import ( cborutil, compression, @@ -4047,7 +4048,7 @@ def debugupdatecaches(ui, repo, *pats, **opts): """warm all known caches in the repository""" with repo.wlock(), repo.lock(): - repo.updatecaches(full=True) + repo.updatecaches(caches=repository.CACHES_ALL) @command(