[cvsnt] CVSNT client and WinXP SP2 w/ CVS server

George Dinwiddie gdinwiddie at register.com
Thu Nov 11 17:48:48 GMT 2004


Since installing SP2, I'm having a problem using the CVSNT client (and the Eclipse client) but not the Cygwin CVS client.

The production server is CVS version 1.11.17 and I can connect with it via SSH using the Cygwin CVS client (also version 1.11.17).  I cannot connect with it via SSH using CVSNT version 2.0.58d.

The SSH connection works fine, but the CVS client hangs.  In order to see what was happening on the server side, I experimented with an old CVS (version 1.11) setup I already had on a private machine.  I did some grepping and found reference to a CVS_SERVER_LOG environment variable, but that doesn't seem to be used any more.  It's not mentioned in the latest copy of the CVS manual and it doesn't seem to work.

I renamed my cvs executable to cvs-bin and wrote this shell script for cvs:

#!/bin/bash
export CVS_SERVER_LOG=/home/cvs/CVS_SERVER_LOG
echo "========================" >> $CVS_SERVER_LOG
date >> $CVS_SERVER_LOG
echo cvs $* >> $CVS_SERVER_LOG
echo "------------------------" >> $CVS_SERVER_LOG
cvs-bin $* | tee -a $CVS_SERVER_LOG

When I execute Cygwin's cvs, I get this on the client side:

C:\Program Files\cvsnt>c:\cygwin\bin\cvs -t -t -t -n co myproject
 -> main loop with CVSROOT=user at host:/home/cvs/projects
 -> safe_location( where=(null) )
 -> Starting server: ssh -l user host cvs server
user at host's password:
S-> do_module (myproject, Updating, , )
S-> do_module (myproject, Updating, , )
cvs-bin server: in directory myproject:
cvs-bin [server aborted]: there is no version here; run 'cvs-bin checkout' first
S-> Create_Admin (., myproject, /home/cvs/projects/myproject, , , 0, 0)
S-> fopen(/home/cvs/projects/CVSROOT/history,a)
 -> Lock_Cleanup()

and this on the server side:

echo "========================" >> $CVS_SERVER_LOG
date >> $CVS_SERVER_LOG
echo cvs $* >> $CVS_SERVER_LOG
echo "------------------------" >> $CVS_SERVER_LOG
cvs-bin $* | tee -a $CVS_SERVER_LOG
[root at ibiza bin]# !tail
tail -f /home/cvs/CVS_SERVER_LOG
ok
E S-> do_module (myproject, Updating, , )
Module-expansion myproject
ok
E S-> do_module (myproject, Updating, , )
E cvs-bin server: in directory myproject:
E cvs-bin [server aborted]: there is no version here; run 'cvs-bin checkout' first
E S-> Create_Admin (., myproject, /home/cvs/projects/myproject, , , 0, 0)
E S-> fopen(/home/cvs/projects/CVSROOT/history,a)
error

This is as it should be.  When I execute CvsNT's cvs, I get this on the client side:

C:\Program Files\cvsnt>.\cvs -t -t -t -n co myproject
  -> Tracelevel set to 3.  PID is 3620
  -> Session ID is e24419390921f88
  -> Domain found: MYWORKGROUP
  -> main loop with CVSROOT=user at host:/home/cvs/projects
user at host's password:

and this on the server side:

========================
Thu Nov 11 11:18:11 EST 2004
cvs server
------------------------
Valid-requests Root Valid-responses valid-requests Repository Directory Max-dotdot Static-directory Sticky Checkin-prog Update-prog Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Questionable Case Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set expand-modules ci co update diff log add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors init annotate noop version
ok

and the connection hangs.  It appears that the CvsNT client never sees the "ok" message from the server.

The WinXP firewall is turned off.  Any clues are greatly appreciated.

 - George Dinwiddie


 ----------------------------------------------------------------------
  When I remember bygone days                         George Dinwiddie
  I think how evening follows morn;                 Register.com, Inc.
  So many I loved were not yet dead,    8830 Stanford Blvd., Suite 402
  So many I love were not yet born.                 Columbia, MD 21045
          'The Middle' by Ogden Nash                      410-953-7939
                                               gdinwiddie at register.com
 ----------------------------------------------------------------------




More information about the cvsnt mailing list