Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Configure SVN To Use Meld For Diffs

Execute the script below to have meld appear with side by side diffs whenever you perform commands like svn diff [my file]

#!/bin/bash
SEARCH="# diff-cmd = diff_program (diff, gdiff, etc.)"
REPLACE="diff-cmd = /usr/bin/meld"
FILEPATH="$HOME/.subversion/config"
sed -i "s;$SEARCH;$REPLACE;" $FILEPATH
Last updated: 16th August 2018
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch