fluidthoughts developers' guild

fluid funk

howto / cvs / create

How to make a CVS repository

Creating a module:

To create a cvs module, the import command must be used.

$ cvs import -m "message here" modulename vendorname release
No conflicts created by this import

Create a new empty module

To avoid accidentally importing entire directories that were never intended for CVS, it can be easier to make an empty directory, and use import from within that directory.

Example:

$ mkdir tmp
$ cd tmp/
$ cvs import -m "Creating testing module" testing ft testing-1_0_0

Importing an existing project

vines and bricks So now that you've learned how to use CVS, you might want to take an existing project that you're working on, and import it into it's own module. Caution should be shown with this motion, as binary files can get ruined from keyword-expansion.

Make sure that your project directory is free of binary files. These can be moved in after the import. Next, issue the import command at the top level of your project directory. These can be added into a repository.

Note! Importing a directory does not make it a working repository

To create a working repository, one in which all the basic cvs commands will work, the module must be checked out.

 

$Id: create.html,v 1.8 2005/01/13 15:34:42 willn Exp $

CVS - Concurrent Versioning System