Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.