[cvsnt] Locking Problems , WIN XP

Bo Berglund Bo.Berglund at system3r.se
Mon Oct 25 08:04:43 BST 2004


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.


For a starter, uninstall 2.0.58 and get the release that was done previous
to this instead (2.0.51 or so). You don't need to do anything about your
repository, changing the server will not affect the repository at all.

Apparently there has been a bug introduced in 2.0.58 that causes exactly this
error you describe. It has been reported from many different sources now.
In earlier releases this was not existing. 2.0.58 is a rather big update
where many things have changed and so there is a quite substantial risk that
some configuration combination exposes a new bug like this.

And to help Tony pin it down it would be good if you supply the full details
of your current configuration of the server as well as the full details on
how you access the server from the client (protocol etc).
What kind of XP are you using? There are two distinctly different versions:
Home (no good) and Pro (works fine).

I would think that if you export the Registry key (on the server):
HKEY_LOCAL_MACHINE\SOFTWARE\CVS 
to a reg file and send this along with the CVSROOT/config file by email to
Tony (tmh at nodomain.org) then it would help him a lot (make sure that you 
zip the files first!).

/Bo

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of pavan_devatha at srai.sraindia.com
Sent: den 25 oktober 2004 08:18
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Locking Problems , WIN XP


Dear All,
         I have just switched to CVSNT from  Microsoft VSS.
I have a WinXP box on which the CVSNT server is installed.
update,commit and import works fine. But am unable to add new files to
existing modules.
           I am using the wincvs client. My CVS repository is located     
c:\CVSRepository . It contains a module called Competency
Solutions.

I am including the following transcript of what happens when i try to add
a new file to module Competency Solutions.



cvs -z3 add -kb TestForAddingFiles.doc (in directory C:\Documents and
Settings\Pavan Devatha\My Documents\CompetencySolutions\)
cvs server: scheduling file `TestForAddingFiles.doc' for addition
cvs server: use 'cvs commit' to add this file permanently

*****CVS exited normally with code 0*****

Saved settings for C:\Documents and Settings\Pavan Devatha\My
Documents\CompetencySolutions successfully...
cvs -z3 commit -m "To test addition of files to exisiting modules\n"
TestForAddingFiles.doc (in directory C:\Documents and Settings\Pavan
Devatha\My Documents\CompetencySolutions\)
RCS file: /CVSRepository/CompetencySolutions/TestForAddingFiles.doc,v
done
Checking in TestForAddingFiles.doc;
/CVSRepository/CompetencySolutions/TestForAddingFiles.doc,v  <-- 
TestForAddingFiles.doc
initial revision: 1.1
cvs [server aborted]: cannot rename file
/CVSRepository/CompetencySolutions/,TestForAddingFiles.doc, to
/CVSRepository/CompetencySolutions/,TestForAddingFiles.doc,: File exists

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

At this point there is a file called TestForAddingfiles.doc,v file in the
repository. It is in Read Only mode. I make the file Writable and issue
the commit command again.


cvs -z3 commit -m "To test addition of files to exisiting modules\n"
TestForAddingFiles.doc (in directory C:\Documents and Settings\Pavan
Devatha\My Documents\CompetencySolutions\)
cvs server: cannot lock
`C:/CVSRepository/CompetencySolutions/TestForAddingFiles.doc,v'.

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

So there are two issues to contend with.
one is that to perform the commit i have manaully change the file
permissions from read only to wirtable in the cvs repository.
Secondly, The lock server is not able to lock the file to perform the commit.


I am very enthuastic to move to cvsnt and would appreciate any help for
expereinced users.

Thanks in advance
Pavan



_______________________________________________
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