info-cvs
[Top][All Lists]
Advanced

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

Re: loginfo.pl for Email Notification


From: Larry Jones
Subject: Re: loginfo.pl for Email Notification
Date: Thu, 5 Apr 2001 14:28:30 -0400 (EDT)

Brian Sequeira writes:
> 
> A loginfo.pl,v file exists in the CVSROOT directory, but not a loginfo.pl.

If you want to have additional files in CVSROOT checked out
automatically when they're committed, you have to add them to
CVSROOT/checkoutlist.

> added a loginfo.pl 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?)
> my $summary    = "/var/cvs/summary";      -------- (What is this variable
> used for?)

Those are questions you need to ask the author of the script (or whoever
passed it on).

> # remove double trailing slash
> $cvsroot =~ s/\/\/$/\//;                                ------ (What does
> this mean?)

It means that the author likes obfuscated code or doesn't know you can
use alternative delimiters for perl's s command.  It does exactly what
the comment says: if $cvsroot ends with two slashes, it removes one of
them.

-Larry Jones

I just can't identify with that kind of work ethic. -- Calvin



reply via email to

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