[cvsnt] Lock server connection in server mode

Thomas Gentsch tge at blue-elephant-systems.com
Wed Nov 29 12:21:19 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.


Hello *,

after spending quite some I finally found a problem with CVSNT which I'd like to
post for discussion.

Within a java program using the netbeans CVS client, I try to check in a set of
objects. Almost consistently the check-in runs through nicely, the commit too.
Subsequently I want to attach a tag to all the files, which is preceded by a
status operation. The first status call fails:
  Error communicating with lock server (send): No such file or directory

So, the actual sequence is something like:
 add
 add
 ...
 commit
 status
 status
 ...
 tag
 tag
 ...
Happens with :pserver:... as well as with :local:... on a Windows XP Prof. SP2
with CVSNT 2.5.03.2382.
It does not happen on any Unix with a "normal" CVS.

Initially I thought this is some bug, but finally I found in the sources, that
the commit command just calls Lock_Cleanup() or so, which will close the lock
server connection.
If I do a reconnect after the commit(), the status() calls run through! The same
happens after the last status() before the first tag(). Again a reconnect helps.
Finally the same thing after every tag().

This might be OK if used from the command line, but not in server mode.
What do you think?

Regards,
  tge


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