Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

February 28 2011

22:15

svn - VCS independent diff - Stack Overflow

I put this suggestion into use for working locally on MoinMoin.
function dif { if [ -d .hg ]; then VC='hg' elif [ -d .svn ]; then VC='svn' else echo "cannot find VC type" return 1 fi $VC diff $1 | colordiff | less -R }