Mercurial > public > mercurial-scm > hg-stable
diff mercurial/logcmdutil.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 | d1b9d2c6ec96 af9c73f26371 |
line wrap: on
line diff
--- a/mercurial/logcmdutil.py Tue Oct 08 15:15:37 2019 -0700 +++ b/mercurial/logcmdutil.py Tue Oct 08 15:06:18 2019 -0700 @@ -925,8 +925,7 @@ for fname, (fromline, toline) in _parselinerangeopt(repo, opts): if fname not in wctx: raise error.Abort( - _(b'cannot follow file not in parent ' b'revision: "%s"') - % fname + _(b'cannot follow file not in parent revision: "%s"') % fname ) fctx = wctx.filectx(fname) for fctx, linerange in dagop.blockancestors(fctx, fromline, toline):