debugupgraderepo: minor documentation fix
authorPulkit Goyal <7895pulkit@gmail.com>
Wed, 16 Dec 2020 14:55:27 +0530
changeset 46211 2dbe6053d49a
parent 46210 6b40aac4da8e
child 46212 c97d8e0406a6
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
mercurial/debugcommands.py
--- 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