comparison mercurial/debugcommands.py @ 46211:2dbe6053d49a

debugupgraderepo: minor documentation fix When we specify `--no-changelog --no-manifest --no-filelog` we skip all revlog optimization instead of all filelog optimization. Also while I was here, for consistency, I did `optimisation` -> `optimization` to make it consistent with rest of occurrences. Note: I am not native speaker and I only changed it because of consistency. I don't know which one is correct. Differential Revision: https://phab.mercurial-scm.org/D9617
author Pulkit Goyal <7895pulkit@gmail.com>
date Wed, 16 Dec 2020 14:55:27 +0530
parents 083438d6f403
children bc884e31b8c8
comparison
equal deleted inserted replaced
46210:6b40aac4da8e 46211:2dbe6053d49a
3928 * `--manifest`: only optimize the manifest 3928 * `--manifest`: only optimize the manifest
3929 * `--no-manifest`: optimize all revlog but the manifest 3929 * `--no-manifest`: optimize all revlog but the manifest
3930 * `--changelog`: optimize the changelog only 3930 * `--changelog`: optimize the changelog only
3931 * `--no-changelog --no-manifest`: optimize filelogs only 3931 * `--no-changelog --no-manifest`: optimize filelogs only
3932 * `--filelogs`: optimize the filelogs only 3932 * `--filelogs`: optimize the filelogs only
3933 * `--no-changelog --no-manifest --no-filelogs`: skip all filelog optimisation 3933 * `--no-changelog --no-manifest --no-filelogs`: skip all revlog optimizations
3934 """ 3934 """
3935 return upgrade.upgraderepo( 3935 return upgrade.upgraderepo(
3936 ui, repo, run=run, optimize=set(optimize), backup=backup, **opts 3936 ui, repo, run=run, optimize=set(optimize), backup=backup, **opts
3937 ) 3937 )
3938 3938