Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Looking for a program, or script, I can use to easily 'walk' through an SVN revision history for a specific file. Anyone know if this exists? Can I achieve this with the command line client for svn?

What I'd like to be able to do:

  • request diff for file between revision x and x-1 (I use a script that show me the diff in vimdiff, similar to this:http://tierseven.net/wiki/index.php?title=Svndiff.sh )
  • while staying inside vimdiff, call 'next' or 'prev' command, and show me diff between x and x-2, or between x-1 and x-2

I'd rustle something up in bash/sed/awk, but I'd rather use something that already exists.

share|improve this question

svn log -q -v filename and processing output for revlist

svn diff -c M filename for changes in filename in revision M

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .