Monday, February 4, 2008

svn-diff-hist.sh: searching back through SVN changes

This script walks backward through the SVN commits and shows the changes that happened for each revision. The output comes in 3 sections (separated by a line of '#' symbols):
- all the logged comments
- each change diff
- the entire file when it was first committed

Usage:
svn-diff-hist.sh {FILE} [{EARLIEST-REVISION}]


By default, it walks all the way back to the first version where it was checked in.

No comments: