##// END OF EJS Templates
updatecaches: use the caches argument in `hg debugupdatecaches`...
marmoute -
r48078:e96f7585 default
parent child Browse files
Show More
@@ -91,6 +91,7 b' from . import ('
91 wireprotoserver,
91 wireprotoserver,
92 wireprotov2peer,
92 wireprotov2peer,
93 )
93 )
94 from .interfaces import repository
94 from .utils import (
95 from .utils import (
95 cborutil,
96 cborutil,
96 compression,
97 compression,
@@ -4047,7 +4048,7 b" def debuguiprompt(ui, prompt=b''):"
4047 def debugupdatecaches(ui, repo, *pats, **opts):
4048 def debugupdatecaches(ui, repo, *pats, **opts):
4048 """warm all known caches in the repository"""
4049 """warm all known caches in the repository"""
4049 with repo.wlock(), repo.lock():
4050 with repo.wlock(), repo.lock():
4050 repo.updatecaches(full=True)
4051 repo.updatecaches(caches=repository.CACHES_ALL)
4051
4052
4052
4053
4053 @command(
4054 @command(
General Comments 0
You need to be logged in to leave comments. Login now