Patchwork D9617: debugupgraderepo: minor documentation fix

login
register
mail settings
Submitter phabricator
Date Dec. 16, 2020, 10:15 a.m.
Message ID <differential-rev-PHID-DREV-ifhaepcypha6g2xzl7lb-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47917/
State Superseded
Headers show

Comments

phabricator - Dec. 16, 2020, 10:15 a.m.
pulkit created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9617

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -3922,7 +3922,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