[cvsnt] Re: CVSMailer link to ViewCVS leading slash on cvsroot?

Mike Wake mike.wake at thales-tts.com
Tue Mar 30 16:42:19 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi all,

Hmmm, I figured out that I needed to set the "weblink root" to map the
Path To Repository
C:/webtools/CVSREPOS/MuckAround

To the Name used by ViewCVS
MuckAround

Without this ViewCVS was being sent "/MuckAround" which it didn't like.

Cheers and Thanks
Mikew

Mike Wake wrote:

> Hi all,
>
> I am setting up CVSMailer (CVSMailerSetup-1.4.1.25.exe) with ViewCVS 
> on Apache (ViewCvs4CVSNT-1.0.r5h.exe) with
> CVSNT (cvsnt-2.0.35.exe)
>
> After screwing up the checkoutlist I have got it mailing.  Yay!
>
> But I have a problem with the links to ViewCVS in the email.  There is 
> a leading '/' on the cvsroot which ViewCVS Barfs at.
>
> here are the copies of the links given by CVSMailer in the email
> http://Blah/ViewCvs/viewcvs.cgi/sand/?cvsroot=/MuckAround
> http://Blah/ViewCVS/viewcvs.cgi/sand/1stdostextfile.txt?rev=1.13&content-type=text/vnd.viewcvs-markup&cvsroot=/MuckAround 
>
> http://Blah/ViewCVS/viewcvs.cgi/sand/1stdostextfile.txt.diff?r1=1.12&r2=1.13&cvsroot=/MuckAround 
>
>
> Note the leading slash on the cvsroot parameter.  Removing this fixes 
> the problem.
>
> Here is the relevant section of my CVSMailer ini file
> ;This section is used to define links to add to the emails
> ;modify these to fit:
> ; - replace the Urls with correct ones (at least change the computer 
> name)
> ; - Select ViewCvs / CvsWeb by commenting/uncommenting the lines below
> ;This is ViewCvs Diff:
> BaseDiffUrl =http://Blah/ViewCvs/viewcvs.cgi/
> DiffCmd=<module>/<file>.diff?r1=<rev1>&r2=<rev2>&cvsroot=<root>
> ;This is ViewCvs file markup view:
> BaseFileUrl =http://Blah/ViewCvs/viewcvs.cgi/
> FileCmd 
> =<module>/<file>?rev=<rev>&content-type=text/vnd.viewcvs-markup&cvsroot=<root> 
>
> ModuleCmd =<module>/?cvsroot=<root>
>
>
> Cheers
> Mikew
>
>



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook