Difference between revisions of "CVS"

From HalfgeekKB
Jump to navigation Jump to search
 
Line 6: Line 6:
  
 
  cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/xanaweb export -Dtomorrow xanaweb
 
  cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/xanaweb export -Dtomorrow xanaweb
 +
 +
=Setup for CVS over SSH=
 +
 +
Set the environment variable <code>CVS_RSH</code>:
 +
 +
export CVS_RSH=ssh
 +
 +
Then, simply lead CVS commands with the <code>-d</code> switch as necessary:
 +
 +
cvs -d:ext:username@cvs.sf.net:/cvsroot/myproject checkout xanaweb

Revision as of 01:33, 28 June 2005

CVS is a great program, if a bit arcane.

Export

This line exports the current CVS trunk of Xana:

cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/xanaweb export -Dtomorrow xanaweb

Setup for CVS over SSH

Set the environment variable CVS_RSH:

export CVS_RSH=ssh

Then, simply lead CVS commands with the -d switch as necessary:

cvs -d:ext:username@cvs.sf.net:/cvsroot/myproject checkout xanaweb