Mercurial > public > mercurial-scm > hg-stable
diff mercurial/posix.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 | 4d684d8210a1 |
children | adf5f4bdeaf6 |
line wrap: on
line diff
--- a/mercurial/posix.py Sun May 08 16:16:41 2011 -0500 +++ b/mercurial/posix.py Sun May 08 20:35:46 2011 +0200 @@ -221,7 +221,7 @@ """Return True if the stat object st is from the current user.""" return st.st_uid == os.getuid() -def find_exe(command): +def findexe(command): '''Find executable for command searching like which does. If command is a basename then PATH is searched for command. PATH isn't searched if command is an absolute or relative path.