changeset 1075 | e254bcbfe636 |
parent 1062 | 6d5a62a549fa |
child 1081 | 8b7d63489db3 |
--- a/mercurial/util.py Fri Aug 26 19:19:35 2005 -0700 +++ b/mercurial/util.py Fri Aug 26 19:20:04 2005 -0700 @@ -276,6 +276,8 @@ 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