|
INITIAL REPOSITORY: To create a repository, and this is normally done by the system admin. This is NOT creating a project to checkout, but the location where everything will be stored! The initial repository! cvs -d repository_root_directory init Or here is a specific example: cvs -d /work/cvsREPOSITORY/ init Creating a directory tree from scratch. For a new project, the easiest thing to do is probably to create an empty directory structure, like this: $ mkdir sqlite_examples $ mkdir sqlite_examples/man $ mkdir sqlite_examples/testing After that, you use the import command to create the corresponding (empty) directory structure inside the repository: $ cd <directory> $ cvs -d repository_root_directory import -m "Created directory structure" yoyodyne/dir yoyo start Or, here is a specific example. $ cd sqlite_examples $ cvs -d /work/cvsREPOSITORY/ import -m 'test SQlite' sqlite_examples sqlite_examples start Now, you can delete the directory sqlite_examples, or go to another directory and type the following: $ cvs -d /work/cvsREPOSITORY/ co sqlite_examples COOL TOOLS: 1. cvsps 2. cvsreport cvsps which you can find at http://www.cobite.com/cvsps/cvsps-2.0rc1.tar.gz $ cvsps -f README_sqlite_tutorial.html
|