Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/util.py @ 1075:e254bcbfe636
Fixed system command abord reason on windows.
author | Volker.Kleinfeld@gmx.de |
---|---|
date | Fri, 26 Aug 2005 19:20:04 -0700 |
parents | 6d5a62a549fa |
children | 8b7d63489db3 |
line wrap: on
line diff
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -276,6 +276,8 @@ else: def explain_exit(code): """return a 2-tuple (desc, code) describing a process's status""" + if os.name == 'nt': # os.WIFxx is not supported on windows + return "aborted with error." , -1 if os.WIFEXITED(code): val = os.WEXITSTATUS(code) return "exited with status %d" % val, val