changeset 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 6b40aac4da8e
children c97d8e0406a6
files mercurial/debugcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Wed Dec 16 14:16:10 2020 +0530
+++ b/mercurial/debugcommands.py	Wed Dec 16 14:55:27 2020 +0530
@@ -3930,7 +3930,7 @@
       * `--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