=================================================================== RCS file: /cvs/cvsweb/cvsweb.cgi,v retrieving revision 1.24 retrieving revision 1.32 diff -u -p -r1.24 -r1.32 --- cvsweb/cvsweb.cgi 1998/08/16 13:45:12 1.24 +++ cvsweb/cvsweb.cgi 1999/07/26 21:41:06 1.32 @@ -28,7 +28,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $fId: cvsweb.cgi,v 1.23 1998/08/15 09:59:11 wosch Exp $ +# $fId: cvsweb.cgi,v 1.31 1999/06/01 15:23:51 billf Exp $ # @@ -62,18 +62,18 @@ require 'cgi-style.pl'; %CVSROOT = ( 'freebsd', '/home/ncvs', 'learn', '/c/learncvs', - 'mozilla', '/a/mozilla-cvs', ); %CVSROOTdescr = ( 'freebsd', 'FreeBSD', 'learn', 'Learn', - 'mozilla', 'Mozilla FreeBSD', ); %mirrors = ( 'Germany', 'http://www.de.freebsd.org/cgi/cvsweb.cgi', - 'Japan', 'http://www.jp.freebsd.org/www.freebsd.org/cgi/cvsweb.cgi', + 'Spain', 'http://www.es.freebsd.org/cgi/cvsweb.cgi', + 'California', 'http://www.freebsd.org/cgi/cvsweb.cgi', + 'Japan', 'http://www.jp.freebsd.org/cgi/cvsweb.cgi', ); $cvstreedefault = 'freebsd'; @@ -155,7 +155,7 @@ if (!-d $cvsroot) { } } if ($#foo > 1) { - $intro .= "
\nThis script support the following CVS trees:\n"; + $intro .= "
\nThis script supports the following CVS trees:\n";
for($i = 0; $i <= $#foo; $i++) {
$intro .= qq{} .
($CVSROOTdescr{$foo[$i]} ?
@@ -329,7 +329,7 @@ sub htmlify {
$string =~ s/>/>/g;
if ($pr) {
- $string =~ s|\bpr(\W+[a-z]+/\W*)(\d+)|$&|ig;
+ $string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!$&!ig;
}
$string;
@@ -429,7 +429,9 @@ sub checkout {
"Unexpected output from co: $_");
}
$_ =
CVS Tags: $revsym{$_}";
}