[cvsnt] Reserved edits : Mac OS X

Arthur Barrett arthur.barrett at march-hare.com
Thu Dec 28 21:56:17 GMT 2006


Amarinder Pal Singh,

You've already asked how to accomplish reserved edits on Mac and I've
already explained in the thread "Problem locking a file".

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

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

using them.  The "free" version of WinCVS does NOT support "reserved
edits" - it supports "concurrent edits" and "cooperative edits".  

If you want to implement reserved edits this is how you do it:

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 
lock"

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.

Regards,



Arthur Barrett


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Amarinderpal Singh
Sent: Friday, 29 December 2006 4:02 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] Reserved edits : Mac OS X


Hi,

I am trying to take reserve edit on Mac using MacCvsX 3.3a2 client. I am
passing following CVS command "cvs edit -c" through Admin->command line
GUI option.

Following is the console output (command exit with code 1) 

cvs edit -c abc.txt (in directory /test)

***** CVS exited normally with code 1 *****

However the same command works fine through WinCVS client. 

Any suggestions for taking reserve edit on MAC would be greatly
appreciated.

Thanks
Amarinder Pal Singh


	CONFIDENTIALITY NOTICE
This e-mail transmission and any documents, files, or previous e-mail
messages appended or attached to it, may contain information that is
confidential or privileged. If you are not the intended recipient, or a
person responsible for delivering it to the intended recipient, you are
hereby notified that any disclosure, copying, printing, distribution, or
use of the information contained or attached to this transmission is
STRICTLY PROHIBITED. If you have received this transmission in error,
please immediately notify the sender by telephone (91-172-229 9848) or
return e-mail message (amarisingh at quark.com) and delete the original
transmission, its attachments, and any copies in your possession,
custody or control. Thank you.


_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt


More information about the cvsnt mailing list