equal
deleted
inserted
replaced
162 return status == win32con.STILL_ACTIVE |
162 return status == win32con.STILL_ACTIVE |
163 except pywintypes.error, details: |
163 except pywintypes.error, details: |
164 return details[0] != winerror.ERROR_INVALID_PARAMETER |
164 return details[0] != winerror.ERROR_INVALID_PARAMETER |
165 return True |
165 return True |
166 |
166 |
167 def system_rcpath(): |
167 def system_rcpath_win32(): |
168 '''return default os-specific hgrc search path''' |
168 '''return default os-specific hgrc search path''' |
169 proc = win32api.GetCurrentProcess() |
169 proc = win32api.GetCurrentProcess() |
170 filename = win32process.GetModuleFileNameEx(proc, 0) |
170 filename = win32process.GetModuleFileNameEx(proc, 0) |
171 return [os.path.join(os.path.dirname(filename), 'mercurial.ini')] |
171 return [os.path.join(os.path.dirname(filename), 'mercurial.ini')] |