diff mercurial/posix.py @ 37095:e24802ea8dbd

rcutil: directly call win32.executablepath() Since it isn't supported on POSIX platform, we don't need to double the compatibility layers.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 24 Mar 2018 13:30:50 +0900
parents 0585337ea787
children 90c5ca718781
line wrap: on
line diff
--- a/mercurial/posix.py	Sat Mar 24 17:19:32 2018 +0900
+++ b/mercurial/posix.py	Sat Mar 24 13:30:50 2018 +0900
@@ -626,9 +626,6 @@
     def __ne__(self, other):
         return not self == other
 
-def executablepath():
-    return None # available on Windows only
-
 def statislink(st):
     '''check whether a stat result is a symlink'''
     return st and stat.S_ISLNK(st.st_mode)