[cvsnt] Problem locking a file

Arthur Barrett arthur.barrett at march-hare.com
Wed Dec 20 04:12:51 GMT 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.

> Please suggest a way fro using commit -c option in MacCVSX.

Make sure you have CVSNT client installed ( preferably) on the 

The "obvious" solution is to use the command line which will work just like 
on Windows.

The way the "exclusive" edit options are usually used is NOT how you are 
using them.

Every versioned file in CVSNT has attributes - also called "expansion 
options".  These are "sticky" - they are propogated from one version of the 
file to the next.

So if all your files should always be used in "reserved" mode the "solution" 
is to mark them as such: cvs update -k+x cvs commit -f "everything will now 

Now when you checkout, edit etc the client will automatically use the 
"locking" functions without the need to specify -c or -x on the command line 
ever again.

Oh and the "C" in CVSNT stands for "C" - nothing more or less.  CVSNT 
supports "Concurrent" as well as "Linear" development and it is a 
fundamental difference between this project and others that this project 
does not limit what features can and cannot be added to the project (beyond 
what could cause corruption).


Arthur Barrett

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook