1<div id="From-scratch"></div> 2<div class="header"> 3<p> 4Previous: [[cvs: Creating Files From Other Version Control Systems#Creating Files From Other Version Control Systems|From other version control systems]], Up: [[cvs: Setting up the files#Setting up the files|Setting up the files]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p> 5</div> 6 7---- 8 9<div id="Creating-a-directory-tree-from-scratch"></div> 10==== Creating a directory tree from scratch ==== 11 12For a new project, the easiest thing to do is probably 13to create an empty directory structure, like this: 14 15<div class="example" style="margin-left: 3.2em"> 16 $ mkdir tc 17 $ mkdir tc/man 18 $ mkdir tc/testing 19</div> 20 21After that, you use the <code>import</code> command to create 22the corresponding (empty) directory structure inside 23the repository: 24 25<div class="example" style="margin-left: 3.2em"> 26 $ cd tc 27 $ cvs import -m "Created directory structure" yoyodyne/<var>dir</var> yoyo start 28</div> 29 30Then, use <code>add</code> to add files (and new directories) 31as they appear. 32 33Check that the permissions <small>CVS</small> sets on the 34directories inside <code>$CVSROOT</code> are reasonable. 35 36This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>]. 37