info-cvs
[Top][All Lists]
Advanced

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

RE: Regarding cvscommit file.


From: Maninder Singh\(SDG\)
Subject: RE: Regarding cvscommit file.
Date: Thu, 6 Oct 2005 20:31:13 +0530

Hi Jim / Steven / Ralph / All,

        I am able to restrict the committing of files with long names.
Thank you all for the timely help / guidance provided. :)

Regards,
Maninder Singh

-----Original Message-----
From: Jim Hyslop [mailto:address@hidden 
Sent: Thursday, October 06, 2005 12:37 AM
To: Maninder Singh(SDG)
Cc: address@hidden
Subject: Re: Regarding cvscommit file.

[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]