To show colorized svn diff
sudo aptitude install colordiff
Then on your home directory there is a hidden file called .bashrc.
Edit it.
vim ~/.bashrc
Append the following code at the end of the file
svndiff()
{
svn diff "${@}" | colordiff
}
Reload the .bashrc file:
~/.bashrc
Next to view the diff use svndiff instead of svn diff
Removing all .svn subfolders
rm -rf `find . -type d -name .svn`
SVN Revert All
svn st -q | awk '{print $2;}' | xargs svn revert
Leave a Reply