svn commit: r45533 - head/en_US.ISO8859-1/htdocs/cgi

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gavin
Date: Thu Aug 28 11:48:19 2014
New Revision: 45533
URL: http://svnweb.freebsd.org/changeset/doc/45533

Log:
  Stop linking to cvsweb in old commit messages: cvsweb.f.o no longer exists.

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/getmsg.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/getmsg.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/getmsg.cgi	Thu Aug 28 10:26:39 2014	(r45532)
+++ head/en_US.ISO8859-1/htdocs/cgi/getmsg.cgi	Thu Aug 28 11:48:19 2014	(r45533)
@@ -238,27 +238,8 @@ sub strip_url
 sub AddAnchors
 {
     my ($text) = @_;
-    my $cvsweb = 'http://cvsweb.FreeBSD.org';
 
     $text =~ s/(http|https|ftp)(:[\S]*?\/?)(\W?\s)/sprintf("<a href=\"%s\">%s<\/a>$3", &strip_url("$1$2"), "$1$2", $3)/egoi;
 
-    if ($text =~ /Revision\s+Changes\s+Path/) {
-
-	
-	# match revsion and file name
-	#   1.10      +2 -2      ports/audio/xmradio/Makefile
-	# ->
-	#  cvsweb.cgi/ports/audio/xmradio/Makefile.diff?r1=1.9&r2=r.10
-	#
-	$text =~ s!([\d.]+\.)(\d+)              # revision
-		   (\s+[+-]\d+\s+[+-]\d+\s+)    # +- stuff
-	           ([a-zA-Z\d_:.+/-]+)          # filename
-		  !"$1$2" eq "1.1" ?
-		    sprintf("%s%s%s<a href=\"$cvsweb/%s\">%s</a>", $1, $2, $3, $4, $4) :
-		    sprintf("%s%s%s<a href=\"$cvsweb/%s.diff?r1=%s%s&r2=%s%s\">%s</a>",
-			    $1, $2, $3, $4, $1, $2 - 1, $1, $2, $4)!gex;
-    }
-
-
     return $text;
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.