equal
deleted
inserted
replaced
2175 displayer.close() |
2175 displayer.close() |
2176 |
2176 |
2177 @command('debugupdatecaches', []) |
2177 @command('debugupdatecaches', []) |
2178 def debugupdatecaches(ui, repo, *pats, **opts): |
2178 def debugupdatecaches(ui, repo, *pats, **opts): |
2179 """warm all known caches in the repository""" |
2179 """warm all known caches in the repository""" |
2180 with repo.wlock(): |
2180 with repo.wlock(), repo.lock(): |
2181 with repo.lock(): |
2181 repo.updatecaches() |
2182 repo.updatecaches() |
|
2183 |
2182 |
2184 @command('debugupgraderepo', [ |
2183 @command('debugupgraderepo', [ |
2185 ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')), |
2184 ('o', 'optimize', [], _('extra optimization to perform'), _('NAME')), |
2186 ('', 'run', False, _('performs an upgrade')), |
2185 ('', 'run', False, _('performs an upgrade')), |
2187 ]) |
2186 ]) |