Patchwork D2974: contrib: rename clang-format-blacklist to clang-format-ignorelist

login
register
mail settings
Submitter phabricator
Date March 30, 2018, 7:11 p.m.
Message ID <8dd210cac1d950fe69f33e06991ff451@localhost.localdomain>
Download mbox | patch
Permalink /patch/29984/
State Not Applicable
Headers show

Comments

phabricator - March 30, 2018, 7:11 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0024961aa493: contrib: rename clang-format-blacklist to clang-format-ignorelist (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2974?vs=7404&id=7407

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

AFFECTED FILES
  Makefile
  contrib/clang-format-blacklist
  contrib/clang-format-ignorelist
  tests/test-check-clang-format.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/tests/test-check-clang-format.t b/tests/test-check-clang-format.t
--- a/tests/test-check-clang-format.t
+++ b/tests/test-check-clang-format.t
@@ -3,7 +3,7 @@ 
   $ . "$TESTDIR/helpers-testrepo.sh"
 
   $ cd "$TESTDIR"/..
-  $ for f in `testrepohg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-blacklist"'` ; do
+  $ for f in `testrepohg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"'` ; do
   >   clang-format --style file $f > $f.formatted
   >   cmp $f $f.formatted || diff -u $f $f.formatted
   >   rm $f.formatted
diff --git a/contrib/clang-format-blacklist b/contrib/clang-format-ignorelist
rename from contrib/clang-format-blacklist
rename to contrib/clang-format-ignorelist
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ 
 
 format-c:
 	clang-format --style file -i \
-	  `hg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-blacklist"'`
+	  `hg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"'`
 
 update-pot: i18n/hg.pot