On Sun, 11 Feb 2007 07:12:47 -0000, "A. Weinstein"
< mandajacki%40yahoo.com">mandajacki
yahoo.com> wrote:
>
>I'm having the following problem:
>
>I have a repository that I'm trying to log in to via pserver. The
>command string that WinCVS sends is as follows (changing names to
>protect the guilty):
>
>cvs -d
>:pserver;username=thisisme;hostname=annoying.physics.domain.edu:/home/directorypath
>login
>
>Logging in to
>:pserver: thisisme%40annoying.physics.domain.edu">thisisme
annoying.physics.domain.edu:2401:/home/directorypath
>cvs [login aborted]: Error reading from server
>annoying.physics.domain.edu: -1: Unknown error
>
>However, if I try to log in via, a linux machine, it works. However,
>the command string I see echoed is differently constructed, e.g:
>
>Logging in to
>:pserver: thisisme%40annoying.physics.domain.edu">thisisme
annoying.physics.domain.edu:2401/home/directorypath
>
>What on earth is going on? Why the difference in how the port is
>specified, and why does the second command string work when the first
>does not?
>
Use the same string from both places and you will be fine.
The first one is non-standard (will only work with CVSNT) whereas the
second one is the standard one, except for the port spec. THe 2401
port number is NOT needed, you only ever enter anything there if the
server is using a non-standard port!
I recommend using:
:pserver:user
cvsserver:/repository
In your case this would be:
: pserver: thisisme%40annoying.physics.domain.edu">thisisme
annoying.physics.domain.edu:/home/directorypath
The reason you get the very stupid string using WinCvs is that you
have clicked the compose button ([...]) for the CVSROOT entry.
You do not need to do this, you can type directly into the box exactly
what you want!
HTH
/Bo
(Bo Berglund, developer in Sweden)
.