diff -r a55a0045704c -r 4030630fb59c mercurial/mail.py --- a/mercurial/mail.py Sun May 08 16:16:41 2011 -0500 +++ b/mercurial/mail.py Sun May 08 20:35:46 2011 +0200 @@ -112,7 +112,7 @@ raise util.Abort(_('smtp specified as email transport, ' 'but no smtp host configured')) else: - if not util.find_exe(method): + if not util.findexe(method): raise util.Abort(_('%r specified as email transport, ' 'but not in PATH') % method)