TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Alternative to svn diff?

2 点作者 symbiotic将近 15 年前
Often I need to work on a remote machine via ssh for work. I have no problem using svn on the command line other than when I need to diff two revisions of a file.<p>I find the output hard to read and sometimes it just tells me that the entire old file was removed, and the entire new file was added, really giving me no information about what was actually changed.<p>It would be great if there was some command line tool that would give me a little bit nicer output (something that's easier to read than the traditional pluses and minuses).<p>Has anyone else encountered this problem and/or found a good solution?

3 条评论

apgwoz将近 15 年前
How about some visual diff tools? It depends on the platform, but there are some really nice ones out there. If you're using Linux, try out meld. This guy has a nice little script for diffing SVN stuff: <a href="http://www.toolsforteams.com/roller/blog/entry/svn_diff_with_meld" rel="nofollow">http://www.toolsforteams.com/roller/blog/entry/svn_diff_with...</a><p>For Windows, I hear Beyond Compare is great, though I don't know if it has SVN integration...<p>For Mac, maybe <a href="http://www.versionsapp.com/" rel="nofollow">http://www.versionsapp.com/</a> does what you need?
nuclear_eclipse将近 15 年前
I personally like to use vimdiff when viewing changes. A quick google shows some easy to follow instructions for setting it up:<p><a href="http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/" rel="nofollow">http://blog.tplus1.com/index.php/2007/08/29/how-to-use-vimdi...</a>
评论 #1462743 未加载
IgorPartola将近 15 年前
Take a look at<p><pre><code> svn help diff </code></pre> Specifically, you can pass arguments down to diff itself.