diff hgext/sqlitestore.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 adde839cc54f
line wrap: on
line diff
--- a/hgext/sqlitestore.py	Tue Oct 08 15:15:37 2019 -0700
+++ b/hgext/sqlitestore.py	Tue Oct 08 15:06:18 2019 -0700
@@ -358,7 +358,7 @@
 
             if i != rev:
                 raise SQLiteStoreError(
-                    _(b'sqlite database has inconsistent ' b'revision numbers')
+                    _(b'sqlite database has inconsistent revision numbers')
                 )
 
             if p1rev == nullrev:
@@ -772,7 +772,7 @@
         # SQLite, since columns can be resized at will.
         if len(tombstone) > len(self.rawdata(censornode)):
             raise error.Abort(
-                _(b'censor tombstone must be no longer than ' b'censored data')
+                _(b'censor tombstone must be no longer than censored data')
             )
 
         # We need to replace the censored revision's data with the tombstone.
@@ -1161,7 +1161,7 @@
     # This restriction can be lifted once we have more confidence.
     if b'sharedrepo' in createopts:
         raise error.Abort(
-            _(b'shared repositories not supported with SQLite ' b'store')
+            _(b'shared repositories not supported with SQLite store')
         )
 
     # This filtering is out of an abundance of caution: we want to ensure
@@ -1176,7 +1176,7 @@
     unsupported = set(createopts) - known
     if unsupported:
         raise error.Abort(
-            _(b'SQLite store does not support repo creation ' b'option: %s')
+            _(b'SQLite store does not support repo creation option: %s')
             % b', '.join(sorted(unsupported))
         )