comparison mercurial/changegroup.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 8f807a83d53b
comparison
equal deleted inserted replaced
43116:defabf63e969 43117:8ff1ecfadcd1
1549 if oldmatcher is None: 1549 if oldmatcher is None:
1550 oldmatcher = matchmod.never() 1550 oldmatcher = matchmod.never()
1551 1551
1552 if version == b'01' and not matcher.always(): 1552 if version == b'01' and not matcher.always():
1553 raise error.ProgrammingError( 1553 raise error.ProgrammingError(
1554 b'version 01 changegroups do not support ' b'sparse file matchers' 1554 b'version 01 changegroups do not support sparse file matchers'
1555 ) 1555 )
1556 1556
1557 if ellipses and version in (b'01', b'02'): 1557 if ellipses and version in (b'01', b'02'):
1558 raise error.Abort( 1558 raise error.Abort(
1559 _( 1559 _(