# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2020-12-16 09:25:27 # Node ID 2dbe6053d49aa51587b46d2608855b28e3679a09 # Parent 6b40aac4da8e3b2a5b59367c71806fe4d37e282a 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 diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -3930,7 +3930,7 @@ def debugupgraderepo(ui, repo, run=False * `--changelog`: optimize the changelog only * `--no-changelog --no-manifest`: optimize filelogs only * `--filelogs`: optimize the filelogs only - * `--no-changelog --no-manifest --no-filelogs`: skip all filelog optimisation + * `--no-changelog --no-manifest --no-filelogs`: skip all revlog optimizations """ return upgrade.upgraderepo( ui, repo, run=run, optimize=set(optimize), backup=backup, **opts