[cvsnt] Problem locking a file

Bo Berglund Bo.Berglund at system3r.se
Tue Dec 19 12:06:24 GMT 2006


You should not use the cvs admin -l command at all!!!
Read up on reserved edits instead, that will probably handle what you
need.

Or, why do you think you need to lock a file????
Normally CVS is used Concurrently (hence its name) so that several
developers can work on the same project at the same time. CVS very
nicely handles the problems where different developers edit the same
file at the same time, no problems here.
But it cannot merge changes done to a binary file, so for these you
probably want to set up reserved edits so that only one developer at a
time can hold the edit token.

As I said, look up reserved edits and read up. 


Best regards,

Bo Berglund


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Sumanjit Kaur Brar
Sent: den 19 december 2006 12:26
To: cvsnt at cvsnt.org
Subject: [cvsnt] Problem locking a file

Hi,
 
I have Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382
(client/server) on SUSE 10. How can I allow a cvs user to lock a file in
repository without giving him administartive rights. If any cvs user
trys to lock a file through CVS client it gives following error :
 
cvs admin -l QuarkCms.lk (in directory C:\ghjk\test)

cvsnt [server aborted]: usage is restricted to repository administrators

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

 

Regards, 
Suman Brar 
Ext : 9848 

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 legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that you must not read this
transmission and 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.2299848) or
return e-mail message (< mailto:sbrar at quark.com>) and delete the
original transmission, its attachments, and any copies without reading
or saving in any manner. 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