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.
代码概述 你提供的是一段用于配置 **VS Code** 中文件排除和搜索排除的设置内容,主要用于隐藏不必要的文件和目录,提升开发效率。 代码解析 要在 VS Code 中添加这些配置,你需要编辑工作区或用户的 `settings.json` 文件。操作步骤如下: 1. 打开命令面板:使用快捷键 `Ctrl + Shift + P`(Windows/Linux)或 `Cmd + Shift + P`(Mac)。 2. 输入并选择:`Preferences: Open Settings (JSON)`。 3. 在打开的 `settings.json` 文件中添加你提供的代码片段。 完整添加后的 `settings.json` 示例: ```json { "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/Thumbs.db": true, "**/*.crswap": true, "**/.mm": true }, "search.exclude": { "**/.cache/clangd/**": true, "**/*.{a,o,so,lib,ts,marks,dpg,PGA,internal,ko,n,msg,bin,pga}": true, "**/CMakeFiles/*": true, "**/*.dir": true, "**/{temp,output}/*": true, "**/node_modules": true, "**/bower_components": true, "**/*.code-search": true } } ``` - `"files.exclude"`:控制资源管理器中隐藏的文件和目录。 - `"search.exclude"`:控制全局搜索时忽略的文件和目录。 知识点 1. **VS Code 设置**:通过修改 `settings.json` 文件可以个性化编辑器行为。 2. **文件过滤**:`files.exclude` 用于控制资源管理器中显示或隐藏的文件。 3. **搜索排除**:`search.exclude` 用于优化全局搜索时跳过某些不必要的文件。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值