google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

请帮忙cvs版本统一问题。

请帮忙cvs版本统一问题。


我搭建的是cvsnt2.042+wincvs1.3的组合。

在草稿状态不断修改完成后,现在我想把模块的目录里的文件都统一成2.0版本,里面文件的最高版本只是1.8。但是不成功。提示错误如下:
cvs commit -m "no message" -r 2.0 (in directory D:\work\qybkDIR\add\)
cvs commit: Examining .
Checking in add.txt;
cvs [server aborted]: revision `2.0' does not exist

我又在另外一个目录中试了一下,提示错误是:
cvs commit -m "no message" -r 2.0 (in directory D:\work\qybkDIR\测试及修改\)
cvs commit: Examining .
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `3.3测试报告.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `3.5测试报告.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `3.5测试修改.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `3.5测试修改2.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `3.7企业博客修改文档.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `3.7企业博客修改文档2.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `hainanec压力测试下的数据库服务器性能分析报告.xls'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `vssver.scc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客2月28号开发要求表1.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客测试(by 向阳).doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客测试.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客管理要求.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客用户体验 WPZ.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客用户体验_回复.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `企业博客注册体验部分.doc'
cvs server: Numeric -r option must specify version on the same branch
cvs server: Up-to-date check failed for `项目计划.doc'
cvs [server aborted]: correct above errors first!



请帮忙回复一下。谢谢!

TOP

cvs不允许手工设置版本号,都是自动生成的,很显然你的2.0版本在服务器没有
为您提供软件测试免费职业咨询、软件测试高薪技能培训、软件测试人才免费推荐的一条龙服务!!!
联系msn:sinckyzhang@gmail.com
欢迎访问http://hr.51testing.com 国内第一个专业的软件测试领域人才招聘网站!企业招聘、个人求职全免费!

TOP

请提供你的操作方式……

TOP

不允许手工操作。  提供一下你现在的版本号。好像现在的版本为了安全不允许认为操作

TOP

那为什么,帮助文档中都是介绍可以进行统一版本的操作呢?

TOP

是啊,同问,在置顶的一个帖子里有文档:WinCVS从入门到精通(一到三章),第三章开头明确的写了统一版本的方法,我也按照此方法作了,提示与LZ的一样。
难道现在不能用手工方式统一版本了么?那如何统一呢?

TOP

在置顶的一个帖子里WinCVS从入门到精通(一到三章),有疑问:
1.在对一个文件执行remove、commit后本地文件已经删除,在服务器端并没有删除
2.在服务器端删除一个文件后,进行checkout操作后,工作目录下该文件并没有删除

TOP

回复 1# 的帖子


cvsnt2.0.42+wincvs1.3我用着没有这个问题,具体不知道什么原因,不过你可以看有没有如下的问题:
1、有文件修改后没有上传
2、你当前的是不是服务器最新的版本
3、在提交版本之前有没有先更新下你当前的版本,去除标记
感觉如果做到了应该就可以了。

TOP

我用的是cvsnt2.5的,和wincvs1.3的,固定版本时也是失败,提示:
cvs commit: Examining .
cvs commit: Examining person1
cvs commit: Examining person2
cvs server: nothing known about `2.0'
cvs [server aborted]: correct above errors first!

请问是否2.5的也不能手工固定版本么?如果不行,那要采用那种方法呢?

TOP

报这个错是因为文件不是在同一个开发分支
检查一下提示中这几个文件的标记是否与其他未提示出来的文件的标记是否在同一个开发分支上,

TOP

 
当前时区 GMT+8, 现在时间是 2008-12-2 18:41Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹