2480 |
2480 |
2481 @command('debugupdatecaches', []) |
2481 @command('debugupdatecaches', []) |
2482 def debugupdatecaches(ui, repo, *pats, **opts): |
2482 def debugupdatecaches(ui, repo, *pats, **opts): |
2483 """warm all known caches in the repository""" |
2483 """warm all known caches in the repository""" |
2484 with repo.wlock(), repo.lock(): |
2484 with repo.wlock(), repo.lock(): |
2485 repo.updatecaches() |
2485 repo.updatecaches(full=True) |
2486 |
2486 |
2487 @command('debugupgraderepo', [ |
2487 @command('debugupgraderepo', [ |
2488 ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')), |
2488 ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')), |
2489 ('', 'run', False, _('performs an upgrade')), |
2489 ('', 'run', False, _('performs an upgrade')), |
2490 ]) |
2490 ]) |