Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 08:13:45 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gerard Samuel <gsam@trini0.org>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: cvs commit emails??
Message-ID:  <20020716071345.GA34849@happy-idiot-talk.infracaninophi>
In-Reply-To: <3D338C9E.8010807@trini0.org>
References:  <3D338C9E.8010807@trini0.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 15, 2002 at 11:01:50PM -0400, Gerard Samuel wrote:
> Im trying to setup cvs to send out emails when a file is commited.
> I copied, /usr/src/contrib/cvs/contrib/log.in to log.pl in my cvs
> CVSROOT directory.

> With my inexperience with perl, I entered #!/usr/bin/perl at the top
> of log.pl, and chmod the file to 755.

That's correct.

> Then in loginfo I entered
> gsam CVSROOT/log.pl %s -f CVSROOT/commitlog -m gsam@trini0.org

Try:

gsam $CVSROOT/CVSROOT/log.pl %s -f $CVSROOT/CVSROOT/commitlog -m gsam@trini0.org

I think you need to specify the full path for the various files
involved.  If you find that the CVSROOT environment variable isn't set
appropriately, you may have to substitute whatever the path to your
repository is.

You did make your edits by checking out CVSROOT, rather than editing
the files in the repository directory?  You probably want to check
log.pl into CVSROOT and add it to the checkoutlist file too.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
Tel: +44 1628 476614                                  Marlow
Fax: +44 0870 0522645                                 Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020716071345.GA34849>