Mercurial > public > mercurial-scm > hg
comparison mercurial/bundlerepo.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 | 4aa72cdf616f |
children | 9f70512ae2cf |
comparison
equal
deleted
inserted
replaced
43116:defabf63e969 | 43117:8ff1ecfadcd1 |
---|---|
267 cgpart = None | 267 cgpart = None |
268 for part in bundle.iterparts(seekable=True): | 268 for part in bundle.iterparts(seekable=True): |
269 if part.type == b'changegroup': | 269 if part.type == b'changegroup': |
270 if cgpart: | 270 if cgpart: |
271 raise NotImplementedError( | 271 raise NotImplementedError( |
272 b"can't process " b"multiple changegroups" | 272 b"can't process multiple changegroups" |
273 ) | 273 ) |
274 cgpart = part | 274 cgpart = part |
275 | 275 |
276 self._handlebundle2part(bundle, part) | 276 self._handlebundle2part(bundle, part) |
277 | 277 |