Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireprotov1server.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 | 1d1232c0726f |
line wrap: on
line diff
--- a/mercurial/wireprotov1server.py Tue Oct 08 15:15:37 2019 -0700 +++ b/mercurial/wireprotov1server.py Tue Oct 08 15:06:18 2019 -0700 @@ -41,7 +41,7 @@ bundle2requiredmain = _(b'incompatible Mercurial client; bundle2 required') bundle2requiredhint = _( - b'see https://www.mercurial-scm.org/wiki/' b'IncompatibleClient' + b'see https://www.mercurial-scm.org/wiki/IncompatibleClient' ) bundle2required = b'%s\n(%s)\n' % (bundle2requiredmain, bundle2requiredhint) @@ -165,13 +165,13 @@ if not isinstance(args, bytes): raise error.ProgrammingError( - b'arguments for version 1 commands ' b'must be declared as bytes' + b'arguments for version 1 commands must be declared as bytes' ) def register(func): if name in commands: raise error.ProgrammingError( - b'%s command already registered ' b'for version 1' % name + b'%s command already registered for version 1' % name ) commands[name] = wireprototypes.commandentry( func, args=args, transports=transports, permission=permission