mercurial/debugcommands.py
changeset 47298 e96f75857361
parent 47139 f58a13c52726
child 47351 3b9914b28133
--- 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(