mercurial/filemerge.py
changeset 15264 157d93c41c10
parent 14749 e3be7dc9a5e1
child 15501 2371f4aea665
--- a/mercurial/filemerge.py	Sat Oct 15 00:39:06 2011 -0500
+++ b/mercurial/filemerge.py	Wed Oct 12 21:45:58 2011 -0400
@@ -34,7 +34,8 @@
             p = util.findexe(p + _toolstr(ui, tool, "regappend"))
             if p:
                 return p
-    return util.findexe(_toolstr(ui, tool, "executable", tool))
+    exe = _toolstr(ui, tool, "executable", tool)
+    return util.findexe(util.expandpath(exe))
 
 def _picktool(repo, ui, path, binary, symlink):
     def check(tool, pat, symlink, binary):