Advertisement

Connecting to my CVS server

Started by December 18, 2004 01:35 PM
1 comment, last by BradDaBug 19 years, 11 months ago
I made a CVS server following these instructions, but I can't really connect to it. When I try to connect using this command:
cvs -d:ext:braddabug@192.168.0.199:/var/lib/cvs import light
it shows the Password: prompt. I type in my password and then nothing, it just sits there. If I type an incorrect password is just shows another Password: prompt after a second or so. Edit: It works fine when I connect locally from the server itself. Edit again: It also works fine when I connect remotely from Linux. WinCVS (and cvs.exe) doesn't work. [Edited by - BradDaBug on December 18, 2004 8:11:54 PM]
I like the DARK layout!
Just a quick note: 'ext' suggests, that you want to use ssh for login, then you don't need to setup the pserver as shown in you tutorial. what you need though is `export CVS_RSH=ssh`, otherwise it won't work...

Advertisement
I guess I should update this thread.

I got the CVS client from https://www.cvshome.org/ and replaced the one that comes with WinCVS. That was able to connect, but when I check out source files from the linux server it adds an extra blank line between each line. I did some googling and finally figured out that the reason is because the files in the CVS repository were originally created in Windows, therefore they have a CRLF EOF marker, but since the repository is sitting on a Linux box the Windows CVS client assumes that all the source files have just a LF marker, so when I check them out it changes each LF to a CRLF, so each line ends with CRCRLF.

I suppose what I can do is check out the repository to a Linux machine, strip all the CRLF's and relace them with just LF, then commit that to the repository. Then it might work.

Jeeze, it shouldn't be this complicated.
I like the DARK layout!

This topic is closed to new replies.

Advertisement