Subversion
Jump to navigation
Jump to search
Configuration
- Colored diff — Either define colordiff as diff-cmd in ~/.subversion/config:
diff-cmd = colordiff
However, to keep the internal svn diff tool, you need to define your own function & alias. This will also highlight diff header in green:
function svnwrap()
{
if [ "$1" = "diff" ] ; then
"svn" "$@" | colordiff | less -FRX
else
"svn" "$@"
fi
}
alias svn=svnwrap
To page the output, use | less -R
Examples
- Checking out a project
svn co svn+ssh://ftp.noekeon.org/opt/www/daemenj/web/private/SVN/Keccak