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
--- 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