cvs commit: sticky tag `someTag' for file `***' is not a branch

 

http://cvsgui.sourceforge.net/newfaq.htm#sticky_nocommit

I cannot commit my changes. CVS tells me:

cvs commit: sticky tag `someTag' for file `blah.txt' is not a branch
What now ?
You have previously updated or checked out the file or module in question using a so called "sticky tag". This happens when you use any of the options found either on the "Sticky options" tab of the Update dialog or the "Checkout options" tab of the Checkout dialog. The only kind of sticky tag that allows you to commit changes based on it is a branch tag (hence the message). Otherwise you will first have to undo the sticky tag. There are several different scenarios for this:
  • The revision you based your modifications on is on the tip of the trunk. This is the easiest case. All you have to do is run the Update command with the "Reset any sticky date/tag/'-k' options" option (akacvs update -A) turned on. After this you will be able to commit again.
  • The revision you based your modifications on is outdated (i.e. someone else has already committed a newer revision). In this case you have to chose whether you first want to merge in the newer changes (and maybe resolve conflicts produced by this) before committing your own changes on top of these or whether you want your changes to live on on a branch of their own, effectively forking the development.
    In the former case you could simply follow the instructions from the first scenario. The merging will happen when you remove the sticky tag.
    In the latter case instead of resetting the sticky tag you will first have to create the new branch and then update to that new branch before you could commit.
  • The revision you based your modifications on is already on a branch. The steps for this scenario are very similar to the ones above. The only difference is that instead of removing the sticky tags altogether you update to a different one, namely that of the branch your base revision resides on.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值