CVS检出到目录 [英] CVS Checkout to a directory

查看:123
本文介绍了CVS检出到目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆