diff -r 70d7293c41d6 -r 157d93c41c10 mercurial/filemerge.py --- 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):