D7971: recover: fix typos

valentin.gatienbaron (Valentin Gatien-Baron) phabricator at mercurial-scm.org
Wed Jan 22 19:49:56 UTC 2020


valentin.gatienbaron created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/commands.py
  tests/test-journal-exists.t

CHANGE DETAILS

diff --git a/tests/test-journal-exists.t b/tests/test-journal-exists.t
--- a/tests/test-journal-exists.t
+++ b/tests/test-journal-exists.t
@@ -21,7 +21,7 @@
   checking files
   checked 1 changesets with 1 changes to 1 files
 
-recover, explicite verify
+recover, explicit verify
 
   $ touch .hg/store/journal
   $ hg ci -Am0
@@ -45,7 +45,7 @@
   [255]
   $ hg recover --no-verify
   rolling back interrupted transaction
-  (verify step skipped, run  `hg verify` to check your repository content)
+  (verify step skipped, run `hg verify` to check your repository content)
 
 
 Check that zero-size journals are correctly aborted:
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5671,7 +5671,7 @@
 
 @command(
     b'recover',
-    [(b'', b'verify', True, b"run `hg verify` after succesful recover"),],
+    [(b'', b'verify', True, b"run `hg verify` after successful recover"),],
     helpcategory=command.CATEGORY_MAINTENANCE,
 )
 def recover(ui, repo, **opts):
@@ -5691,7 +5691,7 @@
             return hg.verify(repo)
         else:
             msg = _(
-                b"(verify step skipped, run  `hg verify` to check your "
+                b"(verify step skipped, run `hg verify` to check your "
                 b"repository content)\n"
             )
             ui.warn(msg)



To: valentin.gatienbaron, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list