This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cvs package available for test


Charles Wilson wrote:
> Have you tried using the cygwin cvs client from cvs-1.10.8-2
> with any other cvs server, such as
> :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src ? If not, please try it from
> your machine

Due to our firewall I could not use NT for this test, I had to use Windows 95,
but everything works as expected. (I successfully checked out the winsup module.)

> -- I'm trying to make sure that the problem you are
> experiencing is truly due to cvs-1.10.8-2 client, and not a bug in
> Andy's pserverd.

The client part of CVS works quite fine, it's the server part making problems:
I was not able to connent to a cygwin CVS server with the cygwin client.

> hoefter@gmx.de wrote:
> > I use cygwin1.1.4 (saw no difference to cygwin1.1.3-1) with
> > your cvs-1.10.8-2.
> >
> > When I try to connect to a CVS server I get the error message
> >    cvs [login aborted]: connect to localhost:2401 failed: Connection
> > refused

I should have said: ...try to connect to a _cygwin_ CVS server...
Other CVS servers can be contacted without problems.

> > This is the same message when no server is running.
> >
> > To reproduce my test I included a script that starts the server.
> > Currently I use Andy Piper's plain old CVS port which is patched for NT
> > and supports the option 'pserverd' instead of 'pserver':
> >
> > http://www.xemacs.freeserve.co.uk/cvspserverd.html
> >
> > (When you run your CVS as server you have to remove the 'd' from
> >  'pserverd'.)
> >

Sure, you have to do that, if you want to start cygwin CVS as server.
I included the script untouched, as it works fine with Andy's CVS server.

> > I included the whole script so that you can see I launched the server
> > and tried to connect correctly. (Mounted drives etc...)
> >
> > BTW: My colleagues don't like mounting drives, I don't mind, but so it was
> >      harder for me to "sell" them CVS...
> >
> > Cheers,
> > Richard.
> >
> > PS: A CVSROOT/passwd is also included. Login and passwords are identical.
> >     Password for guest was created using cygwin crypt, and
> >     the password for test with Andy Piper's crypt.
> >     (You should try to login using both usernames.)
> >
> > ------------------------------------8<-------------------------------------
> >
> > #!/bin/sh
> >
> > REPOSITORY_DRIVE=L:/
> > REPOSITORY=/home/hoefter/dist/repository
> > MOUNTPOINT=/dosl
> >
> > ### you should not need to change anything below this line ###
> >
> > echo mount drive $REPOSITORY_DRIVE as $MOUNTPOINT
> > [ -d c:/$MOUNTPOINT ] || mkdir c:/$MOUNTPOINT
> > umount $MOUNTPOINT 2> /dev/null
> > mount $REPOSITORY_DRIVE $MOUNTPOINT 2> /dev/null
> >
> > echo -e "\nstarting CVS server...\n\n"\
> > "following users may connect (configured in $MOUNTPOINT$REPOSITORY/CVSROOT/passwd):"
> > sed -e "s/:.*//;" $MOUNTPOINT/$REPOSITORY/CVSROOT/passwd
> >
> > echo -e "\nconnect to server using following command:\n"\
> > "\$ cvs -d :pserver:myname@localhost:$MOUNTPOINT$REPOSITORY login\n"\
> > "(replace myname with your login and localhost with the CVS server hostname)"
> >
> > # we assume CVS patched for NT from
> > # http://www.xemacs.freeserve.co.uk/cvspserverd.html
> > cvs --allow-root=$MOUNTPOINT$REPOSITORY pserverd
> >
> > ------------------------------------8<-------------------------------------
> > guest:AA4XbeT.F/9ZA
> > test:$1$A$6IYkjeyNh4VlV3aVZsBL./


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]