Permalink
Browse files

[codingstd] removing exceptions for SVN Id tags

Subversion is no longer used in this project and thus the exceptions for the
svn Id: tag within the test code can be removed.
  • Loading branch information...
paultcochrane committed Mar 9, 2014
1 parent 8ff72da commit e068fd0c76ef59288b960ff6615c8bc063575a34
Showing with 1 addition and 5 deletions.
  1. +0 −3 t/codingstd/gmt_utc.t
  2. +0 −1 t/codingstd/linelength.t
  3. +1 −1 t/codingstd/pdd_format.t
View
@@ -42,9 +42,6 @@ my @failures;
foreach my $file (@files) {
my $buf = $DIST->slurp($file);
# trim out SVN Id line
$buf =~ s{\$Id:.*}{}g;
# if we have a timezone, check to see if it is GMT/UTC
push @failures => "$file\n"
if $buf =~ m{
View
@@ -75,7 +75,6 @@ sub info_for_first_long_line {
chomp $line;
$line =~ s/\t/' ' x (1 + length($`) % 8)/eg; # expand \t
next if $line =~ m/https?:\/\//; # skip long web addresses
next if $line =~ m/\$Id:/;
next if $line =~ m/CONST_STRING\(/;
return sprintf '%s:%d: %d cols', $file, $., length($line)
View
@@ -55,7 +55,7 @@ sub check_pdd_formatting {
if (
( length( $lines[$i] ) > 78 )
and
( $lines[$i] !~ m/^(?:F|L)<|<http|\$Id:\s+/ )
( $lines[$i] !~ m/^(?:F|L)<|<http/ )
) {
push @toolong, ($i + 1);
}

0 comments on commit e068fd0

Please sign in to comment.