Chinaunix

标题: CVS新添加目录 [打印本页]

作者: lan97    时间: 2010-04-21 17:30
标题: CVS新添加目录
本帖最后由 lan97 于 2010-04-21 17:40 编辑

现有CVS
工程
/cvsroot/project1

要添加的文件夹为/opt/dir_new,
该文件夹下还有子目录及文件

如何将 dir_new目录的内容添加到 project1里啊。

网上的教程不不全cvs add 命令是怎样正确使用呢?

请各位高手帮忙。
作者: liying_gg    时间: 2010-04-21 17:41
find dir_new|xargs -i cvs add {}

cvs commit -R dir_new
作者: lan97    时间: 2010-04-21 19:22
find dir_new|xargs -i cvs add {}

执行结果
cvs add: No CVSROOT specified!  Please use the `-d' option
cvs [add aborted]: or set the CVSROOT environment variable.
作者: lan97    时间: 2010-04-21 19:56
cvs -d /workspace/cvsroot import -m "hubei wuhan" project CA start

我导入的 工程文件下的 所有 “core”字母的文件都没有导入到 CVS里

各位大哥 这是什么故事啊?
作者: lan97    时间: 2010-04-21 20:28
javascript:;

未命名.JPG (9.41 KB, 下载次数: 4)

未命名.JPG

作者: lan97    时间: 2010-04-21 20:28
The server reported an error while performing the "cvs add" command.
  src: cvs [server aborted]: "add" requires write access to the repository
作者: witer666    时间: 2010-04-25 23:09
cvs commit




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2