免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5106 | 回复: 4
打印 上一主题 下一主题

请教CVS如何添加空文件夹? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-02 09:31 |只看该作者 |倒序浏览
谢谢先

论坛徽章:
0
2 [报告]
发表于 2010-06-02 16:09 |只看该作者
打开 http://homepages.inf.ed.ac.uk/s0243221/nrs/CVS_Intro.html
查:Adding a new directory to CVS
以后这种问题要学会自己用google,如果百度查不出来的话。

论坛徽章:
0
3 [报告]
发表于 2010-06-02 17:06 |只看该作者
打开 
查:Adding a new directory to CVS
以后这种问题要学会自己用google,如果百度查不出来的话。
没本 发表于 2010-06-02 16:09



    刚我没说清楚, 我想在import的时候不忽略空文件夹。

论坛徽章:
0
4 [报告]
发表于 2010-06-02 18:23 |只看该作者
The way that you remove a directory is to remove all the files in it. You don't remove the directory itself; there is no way to do that. Instead you specify the `-P' option to cvs update or cvs checkout, which will cause CVS to remove empty directories from working directories. (Note that cvs export always removes empty directories.) Probably the best way to do this is to always specify `-P'; if you want an empty directory then put a dummy file (for example `.keepme') in it to prevent `-P' from removing it.

用google搜"cvs empty directory"查到的。空目录总是被cvs忽略掉,要想留下那个目录,在目录里放一个.keepme之类的垃圾文件,就可以了。

论坛徽章:
1
双子座
日期:2015-01-04 14:25:06
5 [报告]
发表于 2010-06-03 00:18 |只看该作者
The way that you remove a directory is to remove all the files in it. You don't remove the directory ...
没本 发表于 2010-06-02 18:23

正解
svn可以管理目录
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP