bug-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: Shubhabrata Sengupta
Subject: Re: How to lock CVS for check-in
Date: Thu, 11 Oct 2001 11:43:23 +0530

Yes you can selectively lock branches in some cases (definitely if you use
pserver access). Searching the list archives would unearth a couple of
scripts which achieve the same.

Thanks

Shubho

-----Original Message-----
From: David Everly <David.Everly@wcom.com>
To: Brad L. Chisholm <blc@bsdwins.com>
Cc: Larry Jones <larry.jones@sdrc.com>; mshiju@in.ibm.com
<mshiju@in.ibm.com>; info-cvs@gnu.org <info-cvs@gnu.org>; bug-cvs@gnu.org
<bug-cvs@gnu.org>
Date: Wednesday, October 10, 2001 11:35 PM
Subject: Re: How to lock CVS for check-in


>Can I do a selective lock using this process, such that only certain
>branches are locked?  What would my script look for if this could be
>done?
>
>On Wed, Oct 10, 2001 at 12:59:46PM -0400, Brad L. Chisholm wrote:
>> You could also create a commitinfo trigger which returns non-zero, and
>> optionally displays a message indicating that check-ins are currently
>> disabled.  Since read locks can occur in normal use, this also allows
>> the users to distinguish between a mandated lockdown, and just a normal
>> lock collision.
>>
>> -Brad
>>
>> On Tue, Oct 09, 2001 at 03:28:10PM -0400, Larry Jones wrote:
>> > mshiju@in.ibm.com writes:
>> > >
>> > >            I have set up a CVS as part of my project. At times I want
to
>> > > lock the CVS for check-ins .But checkouts should not be locked. Is
there a
>> > > way to do this in the CVS. Could any one help me to resolve the
issue.
>> >
>> > You need to create a read lock in each directory in your repository.
>> > See the manual for technical details:
>> >
>> > <http://www.cvshome.org/docs/manual/cvs_2.html#SEC17>
>> >
>> > -Larry Jones
>> >
>> > Even though we're both talking english, we're not speaking the same
language.
>> > -- Calvin
>> >
>> > _______________________________________________
>> > Bug-cvs mailing list
>> > Bug-cvs@gnu.org
>> > http://mail.gnu.org/mailman/listinfo/bug-cvs
>>
>> _______________________________________________
>> Info-cvs mailing list
>> Info-cvs@gnu.org
>> http://mail.gnu.org/mailman/listinfo/info-cvs
>
>--
>David.Everly@wcom.com
>V-Net:       622-3286
>Phone: 1-719-535-3286
>Pager: 1-800-724-3624 # 140-1311
>
>_______________________________________________
>Info-cvs mailing list
>Info-cvs@gnu.org
>http://mail.gnu.org/mailman/listinfo/info-cvs
>




reply via email to

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