Diff for /CVSROOT/loginfo.pl between versions 1.2 and 1.8

version 1.2, 2002/11/15 16:25:20 version 1.8, 2008/10/22 22:18:41
Line 94  my (@added_files, @removed_files, @modif Line 94  my (@added_files, @removed_files, @modif
 while (<FC>) {  while (<FC>) {
  chop;   chop;
  my ($file, $old, $new) = split(",");   my ($file, $old, $new) = split(",");
         if ($file =~ m|TexConvert/tt.dynamic|) { next; }  
  if($old eq "NONE") {   if($old eq "NONE") {
  push @added_files, $file;   push @added_files, $file;
  } elsif($new eq "NONE") {   } elsif($new eq "NONE") {
Line 120  my $diffmsg = ''; Line 119  my $diffmsg = '';
   
 foreach my $info (@modified_files_info) {  foreach my $info (@modified_files_info) {
  my ($file, $old, $new) = @$info;   my ($file, $old, $new) = @$info;
           if ($file =~ m|TexConvert/tt.dynamic|  ||
       $file =~ m|foxr/londtest| ||
       $file =~ m|purdue| ||
               $file =~ m|vcu/| ||
               $file =~ m|modules/[^/]+/private/| ) {
    $diffmsg='Diffs for '.$file.' not shown.'."\n";
    next;
    }
  open(LOG, "$cvs -Qn rdiff -r $old -r $new -u $file|") || die;   open(LOG, "$cvs -Qn rdiff -r $old -r $new -u $file|") || die;
  while(<LOG>) { s/\r\n/\n/; $diffmsg .= $_; }   while(<LOG>) { s/\r\n/\n/; $diffmsg .= $_; }
  close(LOG);   close(LOG);
Line 130  foreach my $info (@modified_files_info) Line 137  foreach my $info (@modified_files_info)
 foreach my $file (@added_files) {  foreach my $file (@added_files) {
  next if $file =~ /\.(gif|jpe|jpe?g|pdf|png|exe|class|tgz|tar.gz|jar)$/i   next if $file =~ /\.(gif|jpe|jpe?g|pdf|png|exe|class|tgz|tar.gz|jar)$/i
  or $file !~ /\./;   or $file !~ /\./;
           if ($file =~ m|TexConvert/tt.dynamic|  ||
               $file =~ m|foxr/londtest| ||
               $file =~ m|purdue|  ||
               $file =~ m|vcu/| ||
               $file =~ m|modules/[^/]+/private/| ) {
                   $diffmsg='Contents of added file: '.$file.' not shown.'."\n";
                   next;
           }
  $diffmsg .= "\nIndex: $file\n+++ $file\n";   $diffmsg .= "\nIndex: $file\n+++ $file\n";
  open(LOG, "$cvs -Qn checkout -p -r1.1 $file |") || die;   open(LOG, "$cvs -Qn checkout -p -r1.1 $file |") || die;
  while(<LOG>) { s/\r\n/\n/; $diffmsg .= $_; }   while(<LOG>) { s/\r\n/\n/; $diffmsg .= $_; }

Removed from v.1.2  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>