# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1425076507 18000 # Node ID fa4642439aa0567afe7dcfe84a8717ed71e6cec3 # Parent 390410a6545d9088dc84392009f51500e3935a1c extdiff: expand tildes and variables in paths to user-supplied diff programs diff -r 390410a6545d -r fa4642439aa0 hgext/extdiff.py --- a/hgext/extdiff.py Sun Feb 22 15:40:36 2015 +0100 +++ b/hgext/extdiff.py Fri Feb 27 17:35:07 2015 -0500 @@ -276,6 +276,7 @@ def uisetup(ui): for cmd, path in ui.configitems('extdiff'): + path = util.expandpath(path) if cmd.startswith('cmd.'): cmd = cmd[4:] if not path: