comparison mercurial/util.py @ 4673:d8442fc0da8d

Merge with crew
author Patrick Mezard <pmezard@gmail.com>
date Thu, 21 Jun 2007 22:19:41 +0200
parents e241598e956f 272c0a09b203
children 849f011dbf79
comparison
equal deleted inserted replaced
4671:150afe6becf6 4673:d8442fc0da8d
1098 p_name = os.path.join(p, name) 1098 p_name = os.path.join(p, name)
1099 if os.path.exists(p_name): 1099 if os.path.exists(p_name):
1100 return p_name 1100 return p_name
1101 return default 1101 return default
1102 1102
1103 def set_signal_handler():
1104 pass
1105
1103 def find_exe(name, default=None): 1106 def find_exe(name, default=None):
1104 '''find path of an executable. 1107 '''find path of an executable.
1105 if name contains a path component, return it as is. otherwise, 1108 if name contains a path component, return it as is. otherwise,
1106 use normal executable search path.''' 1109 use normal executable search path.'''
1107 1110