The script for viewing changes at svn.torproject.org seems to have changed from viewcvs.cgi to viewvc.cgi.
Pei Hanru

Pei Hanru commited on 2009-04-18 09:24:12
Zeige 1 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.

... ...
@@ -68,7 +68,7 @@ sub do_status(\%$$) {
68 68
 
69 69
 			my $cell_path = sprintf '<th>%s</th>', $path;
70 70
 			my $cell_en = sprintf '<td%s>Revision %s%s<br>
71
-				<a href="https://svn.torproject.org/cgi-bin/viewcvs.cgi/website/trunk/%sen/%s?root=Tor&amp;view=markup">HEAD</a>
71
+				<a href="https://svn.torproject.org/cgi-bin/viewvc.cgi/website/trunk/%sen/%s?root=Tor&amp;view=markup">HEAD</a>
72 72
 				%s',
73 73
 				($obs ? ' bgcolor="#D3D3D3"' : ''),
74 74
 				$files{'en'}->{$file}->{'rev'},
... ...
@@ -109,7 +109,7 @@ sub do_status(\%$$) {
109 109
 					} else {
110 110
 						$status='not current';
111 111
 						if ($files{$lang}->{$file}->{'based'} ne 'unknown') {
112
-							$difflink=sprintf '<br><a href="https://svn.torproject.org/cgi-bin/viewcvs.cgi/website/trunk/%sen/%s?root=Tor&amp;r1=%s&amp;r2=%s">changes in original</a>',
112
+							$difflink=sprintf '<br><a href="https://svn.torproject.org/cgi-bin/viewvc.cgi/website/trunk/%sen/%s?root=Tor&amp;r1=%s&amp;r2=%s">changes in original</a>',
113 113
 								($dir eq '.' ? '' : $dir.'/'), $file, $files{$lang}->{$file}->{'based'}, $files{'en'}->{$file}->{'rev'};
114 114
 							$color='yellow';
115 115
 						} else {
... ...
@@ -121,7 +121,7 @@ sub do_status(\%$$) {
121 121
 					};
122 122
 
123 123
 					${$_[0]}{$priority}->{$path}->{'data'} .= sprintf '<td bgcolor="%s">%s<br>
124
-						<a href="https://svn.torproject.org/cgi-bin/viewcvs.cgi/website/trunk/%s%s/%s?root=Tor&amp;view=markup">HEAD</a><br>
124
+						<a href="https://svn.torproject.org/cgi-bin/viewvc.cgi/website/trunk/%s%s/%s?root=Tor&amp;view=markup">HEAD</a><br>
125 125
 						%s
126 126
 						%s
127 127
 						%s</td>',
128 128