TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Alternative to svn diff?

2 pointsby symbioticalmost 15 years ago
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 comments

apgwozalmost 15 years ago
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_eclipsealmost 15 years ago
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 未加载
IgorPartolaalmost 15 years ago
Take a look at<p><pre><code> svn help diff </code></pre> Specifically, you can pass arguments down to diff itself.