CVS检出到目录 [英] CVS Checkout to a directory
问题描述
如何从CVS中检出特定目录并省略通向该目录的树?
How do i check out a specific directory from CVS and omit the tree leading up to that directory?
EX.
Id希望签出到该目录 C:/WebHost/MyWebApp/www
Id like to checkout to this directory C:/WebHost/MyWebApp/www
我的CVS Project目录结构是 MyWebApp/Trunk/www
My CVS Project directory structure is MyWebApp/Trunk/www
如何省略Trunk和MyWebApp目录?
How do i omit the Trunk and MyWebApp directories?
推荐答案
使用cvs -d/cvsroot checkout -d directory project/path/directory
.如果您使用环境设置根目录,则可以省略第一个-d
.这称为缩短路径",可以使用checkout
的-N
选项来避免.
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
.
这篇关于CVS检出到目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!