[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: for Email Notification

From: Jerry Nairn
Subject: RE: for Email Notification
Date: Thu, 5 Apr 2001 11:06:27 -0700

Use the cvs administrative file, checkoutlist, to get a checked out version
of into CVSROOT.
See the manual at


> From: Brian Sequeira [mailto:address@hidden
> Sent: Thursday, April 05, 2001 11:23 AM

> A,v file exists in the CVSROOT directory, but not
> a I added a to the repository that was
> passed on thru this mailing list. I had to edit the following
> lines in the file: 
> my $last_file  = "/var/cvs/lastdir";               -------- (What is this
variable used for?)

If this works like, this is where this script finds the name of
the last directory involved in this commit. But I'm just guessing.

> my $summary    = "/var/cvs/summary";      -------- (What is this variable
used for?)  
> my $smtpserver = "";                  
> my $smtpport   = 25;
> my $cvs        = "/usr/bin/cvs";
> my $cvsroot    = $ENV{CVSROOT}."/";
> # remove double trailing slash
> $cvsroot =~ s/\/\/$/\//;                                ------ (What does
this mean?)

It means you should learn more about perl before you attempt to edit or
interpret a perl script like this. The line two lines before adds a "/" to
the end of $cvsroot, which could make it end in "//" if it already ended in
"/". If that happens, this line replaces the trailing "//" with "/".

> my $cvsusers   = "/home/cvs/cvsroot/CVSROOT/cvsusers";  -------(no
cvsusers file existing)
> Could you point to a site or maual that could better help me
> understand email notifications via CVS? Thanks 

See the manual at


reply via email to

[Prev in Thread] Current Thread [Next in Thread]