Patchwork D9890: clang-format: issue version information in the skip message

login
register
mail settings
Submitter phabricator
Date Jan. 27, 2021, 2:55 p.m.
Message ID <differential-rev-PHID-DREV-2qeqsfqbwui5munh3a5p-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48201/
State Superseded
Headers show

Comments

phabricator - Jan. 27, 2021, 2:55 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This will help people to configure their black

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9890

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -591,7 +591,7 @@ 
     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