如何获取 Subversion diff 摘要以忽略 mergeinfo 属性?
我有 Subversion 1.6.5 客户端和 1.5.4 服务器。我主要只关心完整存储库路径上的差异,而不是工作副本。
当比较分支时,已合并的分支已经显示为相同,除了 mergeinfo 属性。
对于必须仔细检查这些变化以寻找任何可能是真正变化的人来说,这是一种烦人的感觉。
然而,在我们的用例中,情况有些糟糕,因为我们有一些脚本运行来检查各种事物的合并状态,而 mergeinfo 属性会导致它们突出显示许多事物,因为它们不同步。
有没有办法让 diff 摘要忽略 mergeinfo 属性?
I have the Subversion 1.6.5 client and 1.5.4 server. And I mostly only care about diffs on fully repository paths, not working copies.
When diffing branches, ones that have been merged already show up as identical except for the mergeinfo properties.
This is a touch annoying for a human who has to then look through the changes looking for anything that might be a real change.
However it's somewhat worse in our usecase as we have scripts that run around checking on the merge state of various things and the mergeinfo properties cause them to highlight a lot of things as being out of sync when they aren't.
Is there a way to get the diff summary to ignore the mergeinfo properties?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后你必须使用适当的外部差异工具。如果您不关心属性更改,则可以随时使用
filterdiff --clean
删除仅更改属性的文件。In the end you have to use an appropriate external diff tool. If you don't care about property changes you can always use
filterdiff --clean
to remove files whose only changes are properties.