Mercurial > hg
diff tests/hghave.py @ 41759:aaad36b88298
cleanup: use () to wrap long lines instead of \
This is a little less brittle, and often helps indentation. In a
surprising number of cases the entire cleanup was deleting the \, as
the expression was *already* parenthesized in a workable way.
Differential Revision: https://phab.mercurial-scm.org/D5993
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 20 Feb 2019 19:28:51 -0500 |
parents | dddf53473315 |
children | 2a6ca0d94b70 |
line wrap: on
line diff
--- a/tests/hghave.py Sun Jan 13 20:13:22 2019 -0500 +++ b/tests/hghave.py Wed Feb 20 19:28:51 2019 -0500 @@ -343,8 +343,8 @@ @check("svn", "subversion client and admin tools") def has_svn(): - return matchoutput('svn --version 2>&1', br'^svn, version') and \ - matchoutput('svnadmin --version 2>&1', br'^svnadmin, version') + return (matchoutput('svn --version 2>&1', br'^svn, version') and + matchoutput('svnadmin --version 2>&1', br'^svnadmin, version')) @check("svn-bindings", "subversion python bindings") def has_svn_bindings():