D1182: hghave: fix clang-format check to use bytes regex
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Oct 18 19:43:19 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG26c1056f617e: hghave: fix clang-format check to use bytes regex (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1182?vs=3009&id=3019
REVISION DETAIL
https://phab.mercurial-scm.org/D1182
AFFECTED FILES
tests/hghave.py
CHANGE DETAILS
diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -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():
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list