diff hgext/split.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 687b865b95ad
children 705738def50c
line wrap: on
line diff
--- a/hgext/split.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/hgext/split.py	Tue Oct 08 15:06:18 2019 -0700
@@ -108,7 +108,7 @@
             )
             if not alloworphaned and len(torebase) != len(descendants):
                 raise error.Abort(
-                    _(b'split would leave orphaned changesets ' b'behind')
+                    _(b'split would leave orphaned changesets behind')
                 )
         else:
             if not alloworphaned and descendants:
@@ -164,7 +164,7 @@
                 firstline = c.description().split(b'\n', 1)[0]
                 header += _(b'HG: - %s: %s\n') % (short(c.node()), firstline)
             header += _(
-                b'HG: Write commit message for the next split ' b'changeset.\n'
+                b'HG: Write commit message for the next split changeset.\n'
             )
         else:
             header = _(