Showing posts with label svn. Show all posts
Showing posts with label svn. Show all posts

Friday, March 7, 2014

SVN diff of the day

Shell script to first show the list of modified files and then the corresponding diffs:

#!/bin/sh
TODAY="date +%Y-%m-%d"
DIFFCMD="svn diff -r{`$TODAY -d yesterday`}:{`$TODAY`}"
$DIFFCMD --summarize        # file list report
$DIFFCMD --no-diff-deleted  # diffs