如何忽略 eclipse diff 中的 CVS 关键字标签
尽管我喜欢 eclipse diff/merge 视角,但在处理大型项目和需要合并的多个分支时,偶尔会缺少一个功能:
是否有任何方法可以设置 eclipse diff 以忽略 CVS 标记,如 $作者:$,$修订:$ 等等?
由于这些标签在所有分支中都不同,因此“与另一个分支进行比较”总是会导致数百个文件显示出不同的标签,但代码中没有明显的差异。 (当然,只有在修复了分支和头部的数百个文件中的错误后,标签才会有所不同。但这种情况在我工作的地方经常发生。请对此不发表评论。)
As much as i like the eclipse diff/merge perspective, when dealing with large projects and multiple branches that need to be merged occasionally there's one feature missing:
Is there any way to set the eclipse diff to ignore the CVS tags like $Author:$, $Revision:$ and so on?
Since these tags are different in all the branches, a "compare to another branch" always results in a few hundred files showing up with differing tags but no apparent differences in the code. (of course tags differ only after fixing a bug in a few hundred files in branch and head. but that happens a lot where i'm working. no comments on that please.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这似乎是一个已知错误。
This seems to be a known bug.
另一方面,在 SCM 中使用关键字扩展可能被认为是过时的过程。 这里是一些令人信服的论点。
On the other hand, using keyword expansion with your SCM might be considered outdated procedure. here are some compelling arguments.