Connecting to a Unix CVS repository with Tortoise CVS

Robert Citek <[email protected]>
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Hello all,

After using CVS on Linux and Solaris, I'm now trying to get a CVS
client working on Windows XP using Tortoise CVS and having a heck of a
time.

Tortoise CVS info:

TortoiseCVS version 1.10.10
CVS client version:Concurrent Versions System (CVSNT) 2.5.03 (Scorpio)
Build 2382
SSH client version:TortoisePlink Release 0.56

These are the environment variables I use under *nix to connect to a
CVS server running on Solaris:

export CVS_RSH=ssh
export CVSROOT=:ext:foobar:/usr/local/cvsroot
export CVS_SERVER=/usr/local/bin/cvs

And under Linux and Solaris, they work like a charm, especially when
used with ssh keys.

Not so charming with Tortoise CVS. If I enter
:ext:foobar:/usr/local/cvsroot for the CVSROOT, Tortoise CVS fills in
:ext: for the Protocol, foobar for the Server, and /usr/local/cvsroot
for the Repository folder.  If I then click on Fetch List, I get an
error.  Here's the top portion of one error message:

<quote>
In C:\DOCUME~1\rcitek\LOCALS~1\Temp\: "C:\Program Files\CVSNT\cvs.exe"
-q -Q co -c
CVSROOT=:ext:rcitek@foobar:/usr/local/cvsroot

cvs checkout: warning: unrecognized response `bash: cvs: command not
found' from cvs server
cvs [checkout aborted]: end of file from server (consult above messages if any)

Error, CVS operation failed

In C:\DOCUME~1\rcitek\LOCALS~1\Temp\: "C:\Program Files\CVSNT\cvs.exe"
-q -Q ls -q /
CVSROOT=:ext:rcitek@foobar:/usr/local/cvsroot

cvs ls: warning: unrecognized response `bash: cvs: command not found'
from cvs server
cvs [ls aborted]: end of file from server (consult above messages if any)

Error, CVS operation failed
...
</quote>

The error message seem to suggest the server doesn't know where to
look for the cvs command.  Unfortunately, I don't know where to enter
information for the CVS_SERVER variable.  If I change the protocol
from ext to ssh and enter CVS_SERVER=/usr/local/bin/cvs for protocol
parameters, I get a different error:

<quote>
In C:\DOCUME~1\rcitek\LOCALS~1\Temp\: "C:\Program Files\CVSNT\cvs.exe"
-q -Q co -c
CVSROOT=:ssh;CVS_SERVER=/usr/local/bin/cvs:rcitek@foobar:/usr/local/cvsroot

cvs checkout: Bad CVSROOT: Unknown keyword 'CVS_SERVER'
cvs [checkout aborted]: Bad CVSROOT.

Error, CVS operation failed

In C:\DOCUME~1\rcitek\LOCALS~1\Temp\: "C:\Program Files\CVSNT\cvs.exe"
-q -Q ls -q /
CVSROOT=:ssh;CVS_SERVER=/usr/local/bin/cvs:rcitek@foobar:/usr/local/cvsroot

cvs ls: Bad CVSROOT: Unknown keyword 'CVS_SERVER'
cvs [ls aborted]: Bad CVSROOT.

Error, CVS operation failed
...
</quote>

Anyone seen something like this or can offer any suggestions?

Googling for the error messages hasn't been productive, yet, but will
keep trying.

Regards,
- Robert

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.