Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个脚本,该脚本将获取与 CVS 行号更改关联的用户名,并且正在使用
cvs 注释文件路径
但是,有时我运行的 accost 文件在运行 annotate 时会给出空白输出。这个问题有什么解决办法吗?
我应该注意,我正在使用大约 20 年前编写的代码库,它非常庞大。我想知道是否大多数 CVS ,v 文件都搞砸了。
感谢您的时间和投入!
我最终使用了 -r 选项并向其发送了最新的修订号。出于某种原因,它在每次失败的情况下都清理了事情,并在没有失败的情况下给出了相同的输出。
你能在文件上做一个cvs 日志吗?运行 annotate 命令后 cvs 的退出代码是什么?