puzzling.org · mary.gardiner.id.au

CVS tricks

CVS over an ssh connection.

If you want to access a CVS repository for a machine you have an account on, and don't want to transmit your password in clear text over X amount of the 'net, you can set up cvs to use ssh to talk to the server:

export CVSROOT=:ext:username@machine.address:/cvsdirectory
export CVS_RSH=ssh

Add a CVS module to sourceforge

Sourceforge doesn't give developers login shells with their ssh access to their CVS repository, so you can't create directories under $CVSROOT to add a module.

Change inside the directory you want to add, and import it rather than add it.

The command is:

cvs -d:ext:USER_NAME@cvs.PROJECT_NAME.sourceforge.net:/cvsroot/PROJECT_NAME import -m COMMENT MODULE_NAME vendor start

Last modified: 15 April 2009