info-cvs
[Top][All Lists]
Advanced

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

RE: Preventing Commits to a Branch


From: Alexandre Augusto Drummond Barroso
Subject: RE: Preventing Commits to a Branch
Date: Fri, 20 Jun 2003 17:55:50 -0300

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

Cheers,

Xandao.

> -----Original Message-----
> From: Jake Colman [mailto:address@hidden
> Sent: Friday, June 20, 2003 5:34 PM
> To: address@hidden
> 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: address@hidden
> Jersey City, NJ 07311                  www.principiapartners.com
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 




reply via email to

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