[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.1.3 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 tc $ mkdir tc/man $ mkdir tc/testing |
After that, you use the import
command to create
the corresponding (empty) directory structure inside
the repository:
$ cd tc $ cvs import -m "Created directory structure" yoyodyne/dir yoyo start |
This will add yoyodyne/dir as a directory under
$CVSROOT
.
Use checkout
to get the new project. Then, use add
to add files (and new directories) as needed.
$ cd .. $ cvs co yoyodyne/dir |
Check that the permissions CVS sets on the
directories inside $CVSROOT
are reasonable.