Refers back to svn command line tutorial for beginners 2, I introduces a bash script that uses svn cat and vimdiff to compare files. This simple script written by Erik C. Thauvin only allows you to compare latest revision source with working source.
What if I would like to compare my current working source with other revision? or compare two different revision’s source?
In order to achieve this, i wrote another version of svndiff. With that you can do this
svndiff -r 45 mybook.tex
or compare different revision,
svndiff -r 45 46 mybook.tex
By the way, you can still do a normal diff between the latest revision and working copy.
Place it in /usr/bin and chmod +x it and you are done.