Mercurial > public > mercurial-scm > hg
comparison hgext/githelp.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 | 649d3ac37a12 |
children | 313e3a279828 24d0189238f1 |
comparison
equal
deleted
inserted
replaced
43116:defabf63e969 | 43117:8ff1ecfadcd1 |
---|---|
64 Usage: hg githelp -- <git command> | 64 Usage: hg githelp -- <git command> |
65 ''' | 65 ''' |
66 | 66 |
67 if len(args) == 0 or (len(args) == 1 and args[0] == b'git'): | 67 if len(args) == 0 or (len(args) == 1 and args[0] == b'git'): |
68 raise error.Abort( | 68 raise error.Abort( |
69 _(b'missing git command - ' b'usage: hg githelp -- <git command>') | 69 _(b'missing git command - usage: hg githelp -- <git command>') |
70 ) | 70 ) |
71 | 71 |
72 if args[0] == b'git': | 72 if args[0] == b'git': |
73 args = args[1:] | 73 args = args[1:] |
74 | 74 |