Mercurial > hg
changeset 34892:e1458bce84db
hghave: fix clang-format check to use bytes regex
Fixes hghave on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D1182
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 18 Oct 2017 18:29:17 -0400 |
parents | 6b77c13a1aab |
children | 068e0e531584 |
files | tests/hghave.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hghave.py Wed Oct 18 18:29:00 2017 -0400 +++ b/tests/hghave.py Wed Oct 18 18:29:17 2017 -0400 @@ -442,7 +442,7 @@ @check("clang-format", "clang-format C code formatter") def has_clang_format(): return matchoutput("clang-format --help", - r"^OVERVIEW: A tool to format C/C\+\+[^ ]+ code.") + br"^OVERVIEW: A tool to format C/C\+\+[^ ]+ code.") @check("pygments", "Pygments source highlighting library") def has_pygments():