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:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005 12:37 AM
To: Maninder Singh(SDG)
Cc: [email protected]
Subject: Re: Regarding cvscommit file.
[sending emails to both [email protected] 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
_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs