Chinaunix
标题:
cvs remove问题求教
[打印本页]
作者:
alper
时间:
2005-09-19 15:17
标题:
cvs remove问题求教
先用cvs remove删除了库中的一个文件
然后用“cvs update -r 2.5 文件名”恢复那个文件的一个旧版本
但是用“cvs st”看的时候,发现显示“Sticky Tag: 2.5”
于是,我对那个文件的修改在commit的时候报错,信息如下:
cvs commit: sticky tag `2.5' for file `8097.h' is not a branch
但当我想用命令“cvs update -A”来清楚sticky tag的时候也报错,信息如下:
cvs update: conflict: 8097.h is modified but no longer in the repository
好像是个死胡同了,不知道错误出在哪里。还望人指正,谢谢。
作者:
wolfg
时间:
2005-09-19 16:32
标题:
cvs remove问题求教
在其他目录checkout一下看看
作者:
alper
时间:
2005-09-20 09:20
标题:
cvs remove问题求教
不行,还是报一样的错。有没有人知道是怎么回事啊
作者:
hljcz
时间:
2005-09-23 09:11
标题:
cvs remove问题求教
可以用cvs update -j HEAD -j 2.5 恢复:
先cvs update -r HEAD
然后cvs cvs update -j HEAD -j 2.5
最后cvs commit
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2