info-cvs
[Top][All Lists]
Advanced

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

Re: How to lock CVS for check-in


From: David Everly
Subject: Re: How to lock CVS for check-in
Date: Fri, 12 Oct 2001 18:03:08 -0600
User-agent: Mutt/1.2.5i

To recap, I'm looking to a way to lock branches so that people don't
accidentaly check out or commit to an 'inactive' branch.  I also need
the solution to work for those accessing CVSROOT vi the :ext: method.

cvs -n stat filename seems only to work from a 'sandbox' point of
view.  How would I use that in the context of a commitinfo script?

On Thu, Oct 11, 2001 at 09:19:38PM -0700, Jerry Nairn wrote:
> 
> > From: address@hidden [mailto:address@hidden
> > Sent: Wednesday, October 10, 2001 10:11 PM
> > [ On Thursday, October 11, 2001 at 08:24:11 (+0530), 
> > Shubhabrata Sengupta wrote: ]
> > > Wondering why this enhancement is needed in the commitinfo 
> > interface when
> > > you can always get the branch information out of the 
> > CVS/Entries file which
> > > is always available to the commitinfo script.
> > 
> > I'm not sure the CVS/Entries file is always available, and in any case
> > accessing it directly is a very very very bad hack.  Its 
> 
> cvs -n stat filename
> 
> works very well to get this kind of info from a commitinfo script. You get
> it from the CVS/Entries file through a cvs command.
> Jerry
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs

-- 
address@hidden
V-Net:       622-3286
Phone: 1-719-535-3286
Pager: 1-800-724-3624 # 140-1311



reply via email to

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