Skip to content
Snippets Groups Projects
Commit e1458bce authored by Augie Fackler's avatar Augie Fackler
Browse files

hghave: fix clang-format check to use bytes regex

Fixes hghave on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D1182
parent 6b77c13a
No related branches found
No related tags found
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment