diff mercurial/commands.py @ 14271:4030630fb59c

rename util.find_exe to findexe
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 08 May 2011 20:35:46 +0200
parents 00a881581400
children b039b667515d
line wrap: on
line diff
--- a/mercurial/commands.py	Sun May 08 16:16:41 2011 -0500
+++ b/mercurial/commands.py	Sun May 08 20:35:46 2011 +0200
@@ -1648,7 +1648,7 @@
     # editor
     ui.status(_("Checking commit editor...\n"))
     editor = ui.geteditor()
-    cmdpath = util.find_exe(editor) or util.find_exe(editor.split()[0])
+    cmdpath = util.findexe(editor) or util.findexe(editor.split()[0])
     if not cmdpath:
         if editor == 'vi':
             ui.write(_(" No commit editor set and can't find vi in PATH\n"))