[Top][All Lists]

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

Re: Locking CVS

From: Jim Hyslop
Subject: Re: Locking CVS
Date: Mon, 11 Jul 2005 11:40:24 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

S I wrote:
Hi everyone,

I'm planning to lock cvs today getting ready for our release. I realize with certain version control software nowadays you don't have to lock the repo and the developers can continue with their work. However, we're imposing and enforcing a few days for freeze and to regroup.

Our repository resides on a linux box with :pserver method access from WinXP CVS DOS and Tortoise clients. Could I just lock the repo by executing cvs admin -l or -L or do I have to download some perl module to accomplish this? I need to lock our CVS repository today. Three projects reside in the repository, is it possible to lock them selectively or would admin -l lock the entire repo?

If you want to lock all projects, then create an empty $CVSROOT/CVSROOT/writers file. I believe this will work for all access methods, not just pserver. Unlocking the repository is a simple matter of deleting the file. See for details.

To selectively lock projects, have a look at the cvs_acls script. It's in the source code distribution (available from in the contrib/ directory.


reply via email to

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