comparison mercurial/debugcommands.py @ 46208:083438d6f403

upgrade: drop support for old style optimization names Old style optimization names like `redeltaparent` were converted into `re-delta-parent` more than two years ago. The old names were kept around for sometime because of BC reasons. Refer 5608b5a6c3231c4ec771171cc3079142c7672be6. The commit states the map is there for a while and we can drop them as the underlying command is a debug command. Differential Revision: https://phab.mercurial-scm.org/D9614
author Pulkit Goyal <7895pulkit@gmail.com>
date Wed, 16 Dec 2020 12:39:15 +0530
parents b986e3342827
children 2dbe6053d49a
comparison
equal deleted inserted replaced
46207:e2139e071b5c 46208:083438d6f403
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 filelog optimisation
3934 """ 3934 """
3935 return upgrade.upgraderepo( 3935 return upgrade.upgraderepo(
3936 ui, repo, run=run, optimize=optimize, backup=backup, **opts 3936 ui, repo, run=run, optimize=set(optimize), backup=backup, **opts
3937 ) 3937 )
3938 3938
3939 3939
3940 @command( 3940 @command(
3941 b'debugwalk', cmdutil.walkopts, _(b'[OPTION]... [FILE]...'), inferrepo=True 3941 b'debugwalk', cmdutil.walkopts, _(b'[OPTION]... [FILE]...'), inferrepo=True