recover: fix typos stable
authorValentin Gatien-Baron <vgatien-baron@janestreet.com>
Wed, 22 Jan 2020 14:11:11 -0500
branchstable
changeset 44134 e96ed3a61899
parent 44133 1f8f215219ff
child 44135 ae596fac8ba0
recover: fix typos Differential Revision: https://phab.mercurial-scm.org/D7971
mercurial/commands.py
tests/test-journal-exists.t
--- 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: