[cvsnt] Strict file locking

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


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook