# HG changeset patch # User Pierre-Yves David # Date 2021-01-27 14:06:02 # Node ID 9fd4f7af42ea806d3aa77beb1dbbf806dee75306 # Parent a390c7fcd28605d6f7be5bcad910badd602bd9ca clang-format: show required version in skip message This will help people to configure their black Differential Revision: https://phab.mercurial-scm.org/D9890 diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -591,7 +591,7 @@ def has_pylint(): return matchoutput("pylint --help", br"Usage:[ ]+pylint", True) -@check("clang-format", "clang-format C code formatter") +@check("clang-format", "clang-format C code formatter (>= 11)") def has_clang_format(): m = matchoutput('clang-format --version', br'clang-format version (\d+)') # style changed somewhere between 10.x and 11.x