[cvsnt] Problem locking a file

Sumanjit Kaur Brar SBrar at quark.com
Tue Dec 19 12:52:58 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.


Hi,

Thanks for your help. We tried reserved edit command through cvs client and it is working. While a file is in reserved edit state by a particular cvs user, it doesn't allow another user to check-in the same file. The problem here is that after unediting the file, it still doesn't allow any other user to check-in. Please help.

cvs commit -c -m "no message" -- Cms.lk (in directory E:\ab\XT\ABC)
cvsnt server: user 'abc' is not a valid editor of the file 'Cms.lk'
cvsnt [server aborted]: correct above errors first!

***** 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



-----Original Message-----
From: Bo Berglund [mailto:Bo.Berglund at system3r.se]
Sent: Tuesday, December 19, 2006 5:36 PM
To: Sumanjit Kaur Brar; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: RE: [cvsnt] Problem locking a file


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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs


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