CVS HOWTO

From IthrynWiki

Jump to: navigation, search

Contents

Using CVS via ssh (remote access)

Creating a new product

First, set the following variables (assuming you use a sh-based shell):

export CVS_RSH=ssh
export CVSROOT=:ext:<login>@ithryn.net:/hosts/ithryn/repos/cvs

Change into the directory you wish to add, and run the following command:

cvs import <source-name> <vendor-name> <release-name>

Where source-name is the name of your product, vendor-name is the name of your company/group, and release-name is the initial release of of your product (i.e. "start").

Using an existing product

Follow the instructions above regarding setting the CVS_RSH and CVSROOT variables.

Run the command:

cvs checkout <source-name>

To update an existing copy, run:

cvs update

from inside the directory you wish to update.

If you wish to commit your changes, run:

cvs commit

Using CVS+SSH with Eclipse

Please see the Eclipse FAQ for this topic.

Using CVS locally (on Ithryn)

The commands are identical to the CVS via SSH commands above, but you do not need to set CVS_RSH, and CVSROOT should be:

export CVSROOT=/hosts/ithryn/repos/cvs
Personal tools