带有 Subversive 的 Eclipse - 常规 svn diff 视图
以前我使用过没有任何包装器的命令行 SVN。 几天前,我切换到带有 Subversive 的 Eclipse,并且遇到了差异问题。 带有比较视图的团队同步透视图还可以,但它显示整个文件,而不仅仅是更改。 在哪里可以找到类似于“svn diff”输出的内容?我只需要改变。
Previously I've used command line SVN without any wrappers.
Few days ago I switched to Eclipse with Subversive and have problems with diffs.
Team Sync perspective with Compare view is OK, but it displays whole file, not just changes.
Where I can find something similar to "svn diff" output? I need only changes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Eclipse Compare 视图显示整个文件,这是有意义的,因为它是一个 GUI。在“比较”视图中,右上角有一些按钮,可让您从一个比较跳到另一个比较(向下和向上),右侧边距显示位置。因此,虽然它与命令行不完全相同,但它的功能一样。此外,它还为您提供更改的上下文,而不仅仅是更改的行。
如果您需要输出报告,那就有点不同了。您也许只需单击顶部窗格,键入 Ctl-A 以选择全部,按 Ctl-C 进行复制,然后粘贴到文本编辑器中。这可能会给你带来改变。
Eclipse Compare views show the entire file which makes sense, as its a GUI. In the Compare view, there are buttons in the top right that enable you to skip from diff to diff (down and up), and the right-hand margin shows locations. So, while its not exactly the same as the command-line, its just as functional. Also, it gives you context for the changes, not just the changed line.
If you need to output a report, that's a little different. You might be able to just click int the top pane, type Ctl-A to select all, Ctl-C to copy, and then paste into a text editor. That might give you just the changes.