diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-03-08 21:23:14 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-03-08 21:23:14 +0000 |
commit | eeaa432e2a950edd021acd7deffa8ed8b45939c3 (patch) | |
tree | ab8e5fe2d7c7f32e6f74636dc586fe2238745c96 /tools | |
parent | 0bb7de356aace5765fdf2faba5f52b9c285edc7c (diff) | |
download | wireshark-eeaa432e2a950edd021acd7deffa8ed8b45939c3.tar.gz |
Warn if a file does not have an SVN Id tag in it.
svn path=/trunk/; revision=24587
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkAPIs.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index e1e2d92694..e76d105e7a 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -175,6 +175,11 @@ while ($_ = $ARGV[0]) $errorCount++; } + if (! ($fileContents =~ m{\$Id.*\$})) + { + print "Warning: ".$filename." does not have an SVN Id tag.\n"; + } + # Remove all the C-comments and strings $fileContents =~ s {$commentAndStringRegex} []g; |