Re: Connecting to a Unix CVS repository with Tortoise CVS
"Arthur Barrett" <arthur.barrett-qn/[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.tortoisecvs.user |
|---|---|
| Message-ID | <[email protected]> |
Robert, > Subject: [TortoiseCVS] Connecting to a Unix CVS repository > with Tortoise CVS Firstly: if your Unix CVS server is NOT CVSNT then you will miss out on many features of TortoiseCVS, including merge tracking. CVSNT (of course) runs on most unix and linux servers. TortoiseCVS is a 'gui' your questions are really about the CVSNT client used by TortoiseCVS to connect to your server (well also about how you configure that client using TortoiseCVS - so both really...). > export CVS_RSH=ssh > export CVSROOT=:ext:foobar:/usr/local/cvsroot The CVSNT client used by TortoiseCVS has an inbuild SSH protocol - so an ssh wrapper is not required, ie: CVSROOT=:ssh:user@foobar:/usr/local/cvsroot Or CVSROOT=:ssh:putty-session-name:/usr/local/cvsroot > export CVS_SERVER=/usr/local/bin/cvs Yes - set this environment variable on the users PC in the 'system' environment and then reboot and all should work. > 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: That is not a valid protocol parameter, instead just use 'server'. If the version of TortoiseCVS you are using has our mods then on the TortoiseCVS Preferences 'tools' page there should simply be a parameter for 'SSH cvs server' wher eyou can type in /usr/local/bin/cvs (the default is just 'cvs'). > <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. Yes the error means what it says, this is what you want: :ssh;server=/usr/local/bin/cvs:rcitek@foobar:/usr/local/cvsroot Regards, Arthur Barrett ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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-12, 2009. Register now! http://p.sf.net/sfu/devconf