开发者

Delete cvs tag from deleted file (Eclipse CVS)?

开发者 https://www.devze.com 2023-04-03 18:48 出处:网络
I tagged some files in a CVS project. Files were deleted and the project was retagged to the same version, with \"move existing tag\" 开发者_JS百科option checked.

I tagged some files in a CVS project. Files were deleted and the project was retagged to the same version, with "move existing tag" 开发者_JS百科option checked.

I expected that the deleted files would no longer be a part of this tag version, but they are. Is there a way to untag files that are no longer in project? Also, is there a way to do this automatically, so that when I choose to delete a file that's tagged, it gets both removed and untagged?


The tag isn't removed. You'll have to cvs tag -d my_tag filename. It is usually easiest to do it before removing the file:

i.e.

cvs tag -d my_tag my_file
rm my_file
cvs rm my_file
cvs ci -m "my file has been removed" myfile
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号