From 9f97289a9065b6dca73e9c524a7874e35ff6e42b Mon Sep 17 00:00:00 2001 From: hoenicke Date: Sun, 8 Jul 2001 14:42:54 +0000 Subject: [PATCH] Updated to viewcvs.cgi git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1324 379699f6-c40d-0410-875b-85095c16579e --- CVSROOT/syncmail | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CVSROOT/syncmail b/CVSROOT/syncmail index dde4f47..b4dc274 100755 --- a/CVSROOT/syncmail +++ b/CVSROOT/syncmail @@ -124,11 +124,11 @@ def calculate_url(dir, filespec): # No diff to report return '***** Bogus filespec: %s' % filespec if oldrev == 'NONE': - lines = [ 'http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/%s/%s?cvsroot=jode&rev=%s' % (dir, file, newrev) ] + lines = [ 'http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jode/%s/%s?rev=%s' % (dir, file, newrev) ] elif newrev == 'NONE': - lines = [ 'DELETED: http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/%s/%s?cvsroot=jode&rev=%s' % (dir, file, oldrev) ] + lines = [ 'DELETED: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jode/%s/%s?rev=%s' % (dir, file, oldrev) ] else: - lines = [ 'http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/%s/%s.diff?cvsroot=jode&r1=%s&r2=%s&f=u' % (dir, file, oldrev, newrev) ] + lines = [ 'http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jode/%s/%s.diff?r1=%s&r2=%s&diff_format=u' % (dir, file, oldrev, newrev) ] return string.join(lines, '')