[cvsnt] Strict file locking

Glen Starrett glen.starrett at march-hare.com
Fri Sep 1 19:12:35 BST 2006


Hi Tim,

McSwain, Timothy wrote:
> Is there a way to do strict file locking in cvsnt?  According to the
> Admin manual, you can add wildcards to the cvswrappers file (like
> *.java) and add "watching" to files via cvs watch on and cvs watch
> add. However, this only gives warnings, and the user can still edit
> and commit a file. Does anyone know of any tricks to lock down files
> completely, preventing any changes to a file while checked out or
> marked as being edited?

Refer to your eBook.  There are sections dedicated to understanding the 
reserved vs. unreserved models, the tradeoffs, and options used to 
implement them.

The option you're looking for though is the kopt "x", there are 
different variations depending on what it is your process requires.


Regards,

-- 
Glen Starrett


More information about the cvsnt mailing list