changeset 24193:fa4642439aa0

extdiff: expand tildes and variables in paths to user-supplied diff programs
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 27 Feb 2015 17:35:07 -0500
parents 390410a6545d
children 00809c43d72c
files hgext/extdiff.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: