Search code examples
cvsvcs-checkouttortoisecvs

CVS Checkout to a directory


How do i check out a specific directory from CVS and omit the tree leading up to that directory?

EX.

Id like to checkout to this directory C:/WebHost/MyWebApp/www

My CVS Project directory structure is MyWebApp/Trunk/www

How do i omit the Trunk and MyWebApp directories?


Solution

  • Use cvs -d/cvsroot checkout -d directory project/path/directory. The first -d can be omitted if you set the root with the environment. This is called "shortening the path" and can be avoided with the -N option to checkout.