diff mercurial/discovery.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 65d6770273c8
line wrap: on
line diff
--- a/mercurial/discovery.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/discovery.py	Tue Oct 08 15:06:18 2019 -0700
@@ -412,11 +412,11 @@
                 heads = scmutil.nodesummaries(repo, unsyncedheads)
             if heads is None:
                 repo.ui.status(
-                    _(b"remote has heads that are " b"not known locally\n")
+                    _(b"remote has heads that are not known locally\n")
                 )
             elif branch is None:
                 repo.ui.status(
-                    _(b"remote has heads that are " b"not known locally: %s\n")
+                    _(b"remote has heads that are not known locally: %s\n")
                     % heads
                 )
             else:
@@ -447,7 +447,7 @@
             if errormsg is None:
                 if branch not in (b'default', None):
                     errormsg = _(
-                        b"push creates new remote head %s " b"on branch '%s'!"
+                        b"push creates new remote head %s on branch '%s'!"
                     ) % (short(dhs[0]), branch)
                 elif repo[dhs[0]].bookmarks():
                     errormsg = _(