rasmus          Sun Dec 11 17:02:27 2005 EDT

  Modified files:              
    /CVSROOT    loginfo.pl 
  Log:
  Generate viewcvs links
  
  
http://cvs.php.net/diff.php/CVSROOT/loginfo.pl?r1=1.81&r2=1.82
Index: CVSROOT/loginfo.pl
diff -u CVSROOT/loginfo.pl:1.81 CVSROOT/loginfo.pl:1.82
--- CVSROOT/loginfo.pl:1.81     Sun Dec 11 16:31:40 2005
+++ CVSROOT/loginfo.pl  Sun Dec 11 17:02:26 2005
@@ -138,7 +138,7 @@
 
 foreach my $info (@modified_files_info) {
        my ($file, $old, $new) = @$info;
-       $diffmsg .= "http://cvs.php.net/diff.php/$file?r1=$old&r2=$new\n";;
+       $diffmsg .= "http://cvs.php.net/viewcvs.cgi/$file?r1=$old&r2=$new\n";;
        open(LOG, "$cvs -Qn rdiff -r $old -r $new -u $file|") || die;
        while(<LOG>) { s/\r\n/\n/; $diffmsg .= $_; }
        close(LOG);
@@ -149,7 +149,7 @@
 foreach my $file (@added_files) {
        next if $file =~ /\.(gif|jpe|jpe?g|pdf|png|exe|class|tgz|tar.gz|jar)$/i
                or $file !~ /\./;
-       $diffmsg .= "\nhttp://cvs.php.net/co.php/$file?r=1.1&p=1\n";;
+       $diffmsg .= 
"\nhttp://cvs.php.net/viewcvs.cgi/$file?view=markup&rev=1.1\n";;
        $diffmsg .= "Index: $file\n+++ $file\n";
        open(LOG, "$cvs -Qn checkout -p -r1.1 $file |") || die;
        while(<LOG>) { s/\r\n/\n/; $diffmsg .= $_; }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to