CVS Tutorial

From DojoWiki

Jump to: navigation, search

Installing CVS on Windows XP


Installing CVS is easy. Just run the installer (See Movie)

Creating a repository

There are several ways to get started.

  1. You can use the command line tools to initialize a repository
  2. With the CVSNT installation, a Control Panel Application is installed.

Here are a couple good pages on CVSNT Installation:

  1. AnandTech - Covers a dated version
  2. Devguy - Only command line instructions

For a local install, things are pretty simple.

Create a CVS Root (ie. C:\CVSROOT) Define that by setting a Environment Variable pointing CVSROOT=c:\CVSROOOT

from the command line type $ cvs init

Go to your project directory and type cvs import -m "Adding files" module vendortag releasetag

Where Module is the project name ; vendortag is synonymous with a company name; and releasetag is an alpha tag like "Start"

More specifically type :

$cvs import -m "Importing files" myProject myName start

Then you can type

$cvs checkout

and begin updating and committing files.

Personal tools