With the help of colordiff my svn diffing just got a whole lot prettier:

% svn diff --diff-cmd colordiff -x -w files |\
    less -RS

(I like to pass -w to the diff-er to ignore whitespace changes). Piping through less in raw mode (-r/-R) interprets the colour escape-sequences correctly.

Thanks to commandlinefu for the idea.

Leave a Comment

This form has an automated anti-spam system running (Recaptcha). If it suspects you are not a valid visitor a backup challenge will appear here.