comparison mercurial/posix.py @ 37098: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
comparison
equal deleted inserted replaced
37097:7f025c9b7865 37098:e24802ea8dbd
624 return False 624 return False
625 625
626 def __ne__(self, other): 626 def __ne__(self, other):
627 return not self == other 627 return not self == other
628 628
629 def executablepath():
630 return None # available on Windows only
631
632 def statislink(st): 629 def statislink(st):
633 '''check whether a stat result is a symlink''' 630 '''check whether a stat result is a symlink'''
634 return st and stat.S_ISLNK(st.st_mode) 631 return st and stat.S_ISLNK(st.st_mode)
635 632
636 def statisexec(st): 633 def statisexec(st):