info-cvs
[Top][All Lists]
Advanced

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

Re: Regarding cvscommit file.


From: Jim Hyslop
Subject: Re: Regarding cvscommit file.
Date: Wed, 05 Oct 2005 15:06:33 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

[sending emails to both address@hidden and @nongnu.org is redundant - nongnu.org will suffice]

Maninder Singh(SDG) wrote:
Hi,
        I'm trying to restrict the check-in of files into CVS based on
the length of the filename using commitinfo file; but to no success. I'm stuck with how to go about calling the script (written in perl) from the commitinfo file? Any ideas? Thanks for your help in advance.

The manual is pretty straightforward on this (http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_18.html#SEC167 and http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_18.html#SEC170).

It sounds like you want to do this on all files, so instead of a regex you'd use ALL, and your entry should look something like:

ALL /path/to/your/perl/script

followed by any arguments your script needs. CVS will automatically append arguments specifying the repository path, files involved, and so on.

--
Jim




reply via email to

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