diff mercurial/upgrade.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 c59eb1560c44
children 75ad8af9c95e
line wrap: on
line diff
--- a/mercurial/upgrade.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/mercurial/upgrade.py	Tue Oct 08 15:06:18 2019 -0700
@@ -409,7 +409,7 @@
     )
 
     upgrademessage = _(
-        b'revlog content will be recompressed with the new ' b'algorithm.'
+        b'revlog content will be recompressed with the new algorithm.'
     )
 
     @classmethod
@@ -1106,7 +1106,7 @@
     missingreqs = requiredsourcerequirements(repo) - repo.requirements
     if missingreqs:
         raise error.Abort(
-            _(b'cannot upgrade repository; requirement ' b'missing: %s')
+            _(b'cannot upgrade repository; requirement missing: %s')
             % _(b', ').join(sorted(missingreqs))
         )
 
@@ -1173,7 +1173,7 @@
         raise error.Abort(
             _(b'unknown optimization action requested: %s')
             % b', '.join(sorted(optimize)),
-            hint=_(b'run without arguments to see valid ' b'optimizations'),
+            hint=_(b'run without arguments to see valid optimizations'),
         )
 
     deficiencies = finddeficiencies(repo)