Alexandre Augusto Drummond Barroso <[EMAIL PROTECTED]> wrote: >> You may create a program to be called on every commit >> operation. Your program must analyze the file names, their >> revision numbers (the third part of revision number identifies >> the branch - the x in 1.1.x.1 identifies the branch x) and >> decide if the commit operation is legal or not. Use program >> exit code to tell cvs what to do - exit code 0 to allow commit >> operation and exit code > 0 to deny it. >> >> Read more about this on Cederqvist (CVS Manual - Appendix C), >> commitinfo administrative file
The Cederqvist says: Much of the information about the specific commit request being made, including the destination branch, commit message, and command line options specified, is not available to the command. The args I see (with version 1.11.2) are: directory files. ie: /net/cvs/cvs/CVSROOT/cl_commit_check: /cvs/CVSROOT cl_commit_check How are you suggesting we find out the version number from this? >> >> Cheers, >> >> Xandao. >> >> > -----Original Message----- >> > From: Jake Colman [mailto:[EMAIL PROTECTED] >> > Sent: Friday, June 20, 2003 5:34 PM >> > To: [EMAIL PROTECTED] >> > Subject: Preventing Commits to a Branch >> > >> > >> > >> > Is there a way to prevent commits to be done to a specific >> > branch? Once the >> > branch has been released we want to make sure it is not >> > furthur modified. In >> > a releated manner, is there a way to prevent an assigned tag >> > from being moved >> > or deleted from a specific revision? >> > >> > TIA! >> > >> > -- >> > Jake Colman >> > >> > Principia Partners LLC Phone: (201) 209-2467 >> > Harborside Financial Center Fax: (201) 946-0320 >> > 902 Plaza Two E-mail: [EMAIL PROTECTED] >> > Jersey City, NJ 07311 www.principiapartners.com >> > >> > >> > _______________________________________________ >> > Info-cvs mailing list >> > [EMAIL PROTECTED] >> > http://mail.gnu.org/mailman/listinfo/info-cvs >> > >> >> >> _______________________________________________ >> Info-cvs mailing list >> [EMAIL PROTECTED] >> http://mail.gnu.org/mailman/listinfo/info-cvs _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
