我正在使用 cvsexportcommit 报告从 git 到 cvs 的一系列提交。我发现在以下上下文中添加 VERSION 文件是不可能的
| \_版本/ | | | \_version.txt(待删除) | \_VERSION(待补充)
我得到的输出如下:
从父 076d1fb72d8498670582561b7318939bf209c1f4 申请到 CVS 提交 f6ce403e6e1d57b61661527969ac97c52bcbe41f 检查补丁是否适用 cvs 状态:检查 prometeo/VERSION 申请 致命:无法写入文件 prometeo/VERSION 模式 100644 补丁应用成功。向 CVS 添加新文件和目录 cvs [添加中止]:prometeo/VERSION 中已经有一个版本 无法 cvs 添加 prometeo/VERSION - 您可能需要在 /usr/local/git/libexec/git-core/git-cvsexportcommit 第 314 行手动执行此操作。 cvs remove: 安排 `prometeo/version/version.txt' 删除 cvs remove: 使用 'cvs commit' 永久删除这个文件 致力于 CVS 补丁标题(第一行注释):将 tmtc-prometeo 版本号移至 prometeo/VERSION 注意:一个或多个帅哥未能干净地应用。 您需要手动在 .cvsexportcommit.diff 中应用补丁 使用补丁程序。应用补丁并解决问题后 您可能使用以下方法提交的问题: cd "/Users/elia/Code/linux-tmtc/" cvs -d :ext:eschito@********:/cvshome/ground commit -F .msg 'prometeo/VERSION' 'prometeo/tool/bin/tmtc_info' 'prometeo/version/version.txt'
如果我尝试手动将“VERSION”文件添加到 cvs,我会得到:
> cvs add prometeo/VERSION
cvs [add aborted]: there is a version in prometeo/VERSION already
有任何想法吗?