From 255eca0c1ca1f70c1d060e70bd8bd321578b303c Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 21 Feb 2014 19:36:39 +0100 Subject: Revert Remove check and inverse code to display a error if there is a $Id$ Change-Id: I7061ad312df5079924c927ca95a8fa111c756012 Reviewed-on: https://code.wireshark.org/review/498 Reviewed-by: Alexis La Goutte --- tools/checkAPIs.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/checkAPIs.pl') diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index f4bf70a82e..1335bdd69c 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -2073,7 +2073,10 @@ while ($_ = $ARGV[0]) print STDERR "Error: Found %hh in " .$filename."\n"; $errorCount++; } - + if (($fileContents =~ m{ \$Id .* \$ }xo)) + { + print STDERR "Warning: ".$filename." does have an SVN Id tag. Please remove !\n"; + } # Remove all the C-comments $fileContents =~ s{ $CComment } []xog; -- cgit v1.2.1