SVN Diff against changes in the remote repository.
A useful svn wrapper scripts. Get a diff of your local repostitory against the upstream repository changes. I wonder why it is not builtins though like a svn status -u but for dif.
#!/bin/bash IFS=" " for line in `svn status -u`;do [[ $line != " "* ]] && continue rev=`echo $line|awk '{print $2}'` ff=`echo $line|awk '{print $3}'` svn diff -r${rev}:HEAD $ff done
Filed under: Scripts on February 6th, 2007
[...] to go a little further, there’s a nice script here that shows how to get a diff of all items that have changed. I wrote a Perl version of it so we [...]