diff mercurial/streamclone.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 eef9a2d67051
children a03c177a4679
line wrap: on
line diff
--- a/mercurial/streamclone.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/streamclone.py	Tue Oct 08 15:06:18 2019 -0700
@@ -468,14 +468,14 @@
     """
     if len(repo):
         raise error.Abort(
-            _(b'cannot apply stream clone bundle on non-empty ' b'repo')
+            _(b'cannot apply stream clone bundle on non-empty repo')
         )
 
     filecount, bytecount, requirements = readbundle1header(fp)
     missingreqs = requirements - repo.supportedformats
     if missingreqs:
         raise error.Abort(
-            _(b'unable to apply stream clone: ' b'unsupported format: %s')
+            _(b'unable to apply stream clone: unsupported format: %s')
             % b', '.join(sorted(missingreqs))
         )
 
@@ -715,7 +715,7 @@
     missingreqs = [r for r in requirements if r not in repo.supported]
     if missingreqs:
         raise error.Abort(
-            _(b'unable to apply stream clone: ' b'unsupported format: %s')
+            _(b'unable to apply stream clone: unsupported format: %s')
             % b', '.join(sorted(missingreqs))
         )