[cvsnt] Commiting in WinCvs flat mode - could not open lock file

Björn Carlsson bc_remove_ at passagen.se
Mon Jan 12 09:36:57 GMT 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.


When I use CVSNT 2.0.20 as server and in WinCvs 1.3b14 with cvsnt 2.0.12
as client. Flat mode - files from different directories I get an error
message:

cvs -q commit -m "merged from b141" Terminal\FunctionVal.h
GENERAL\NAMEFILE.CPP GENERAL\NAMEFILE.HPP (in directory
D:\slask\1\Mpwin\Src\)
Checking in Terminal/FunctionVal.h;
/HMI/Mac/Mpwin/Src/Terminal/FunctionVal.h,v  <--  FunctionVal.h
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in GENERAL/NAMEFILE.CPP;
/HMI/Mac/Mpwin/Src/GENERAL/NAMEFILE.CPP,v  <--  NAMEFILE.CPP
new revision: 1.18.6.1; previous revision: 1.18
cvs [server aborted]: could not open lock file
`D:/CvsRepos/HMI/Mac/Mpwin/Src/GENERAL/,NAMEFILE.CPP,': File exists

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

---- and then I try the remaining files again, and that works.

cvs -q commit -m "merged from b141" GENERAL\NAMEFILE.CPP
GENERAL\NAMEFILE.HPP (in directory D:\slask\1\Mpwin\Src\)
Checking in GENERAL/NAMEFILE.CPP;
/HMI/Mac/Mpwin/Src/GENERAL/NAMEFILE.CPP,v  <--  NAMEFILE.CPP
new revision: 1.18.6.1; previous revision: 1.18
done
Checking in GENERAL/NAMEFILE.HPP;
/HMI/Mac/Mpwin/Src/GENERAL/NAMEFILE.HPP,v  <--  NAMEFILE.HPP
new revision: 1.5.6.1; previous revision: 1.5
done

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


I have uptil now used 2.0.12a, and not used LockServer, and have not seen
this problem. In my config file I still have:

# Put CVS lock files in this directory rather than directly in the
repository.
LockDir=d:\cvslock

# Use a CVS Lock server (overrides LockDir setting).
#LockServer=localhost:2402 

But I believe that I use LockServer anyway since this is now default?

Perhaps it has nothing to do with different directories, because then I
tried:

cvs -q commit -m "merged from b141" GENERAL\ProdName.cpp
Terminal\TDISPLAY.CPP Terminal\TDISPLAY.HPP Terminal\TEGRSMET.CPP
Terminal\TEGRTREN.CPP Terminal\TERMINAL.CPP Terminal\TOALMGRP.CPP
Terminal\TOALMGRP.HPP Terminal\TOBLOCK.HPP Terminal\TOBLTX.CPP
Terminal\TOBLTX.HPP Terminal\TOGRSMET.CPP Terminal\TOGRSMET.HPP
Terminal\TOGRTOKE.CPP Terminal\TOGRTOKE.HPP Terminal\TOGRTREN.CPP
Terminal\TOGRTREN.HPP Terminal\TOSUI.CPP Terminal\TOSUI.HPP (in directory
D:\slask\1\Mpwin\Src\)

and this command stopped at TOBLOCK.HPP - still the same file as in bug
#214 - coincidence?




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