diff mercurial/help.py @ 43117:8ff1ecfadcd1

cleanup: join string literals that are already on one line Thanks to Kyle for noticing this and for providing the regular expression to run on the codebase. This patch has been reviewed by the test suite and they approved of it. # skip-blame: fallout from mass reformatting Differential Revision: https://phab.mercurial-scm.org/D7028
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 08 Oct 2019 15:06:18 -0700
parents d783f945a701
children 9f70512ae2cf
line wrap: on
line diff
--- a/mercurial/help.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/help.py	Tue Oct 08 15:06:18 2019 -0700
@@ -860,7 +860,7 @@
             )
             if name == b'shortlist':
                 rst.append(
-                    _(b"\n(use 'hg help' for the full list " b"of commands)\n")
+                    _(b"\n(use 'hg help' for the full list of commands)\n")
                 )
         else:
             if name == b'shortlist':
@@ -872,7 +872,7 @@
                 )
             elif name and not full:
                 rst.append(
-                    _(b"\n(use 'hg help %s' to show the full help " b"text)\n")
+                    _(b"\n(use 'hg help %s' to show the full help text)\n")
                     % name
                 )
             elif name and syns and name in syns.keys():
@@ -929,7 +929,7 @@
         try:
             cmdutil.findcmd(name, commands.table)
             rst.append(
-                _(b"\nuse 'hg help -c %s' to see help for " b"the %s command\n")
+                _(b"\nuse 'hg help -c %s' to see help for the %s command\n")
                 % (name, name)
             )
         except error.UnknownCommand:
@@ -985,7 +985,7 @@
         doc = doc.splitlines()[0]
 
         rst = listexts(
-            _(b"'%s' is provided by the following " b"extension:") % cmd,
+            _(b"'%s' is provided by the following extension:") % cmd,
             {ext: doc},
             indent=4,
             showdeprecated=True,