changeset 44134:e96ed3a61899 stable

recover: fix typos Differential Revision: https://phab.mercurial-scm.org/D7971
author Valentin Gatien-Baron <vgatien-baron@janestreet.com>
date Wed, 22 Jan 2020 14:11:11 -0500
parents 1f8f215219ff
children ae596fac8ba0
files mercurial/commands.py tests/test-journal-exists.t
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Jan 21 10:27:39 2020 -0800
+++ b/mercurial/commands.py	Wed Jan 22 14:11:11 2020 -0500
@@ -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)
--- a/tests/test-journal-exists.t	Tue Jan 21 10:27:39 2020 -0800
+++ b/tests/test-journal-exists.t	Wed Jan 22 14:11:11 2020 -0500
@@ -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: