Mercurial > hg
changeset 1075:e254bcbfe636
Fixed system command abord reason on windows.
author | Volker.Kleinfeld@gmx.de |
---|---|
date | Fri, 26 Aug 2005 19:20:04 -0700 |
parents | 55bf5cfde69e |
children | 01db658cc78a |
files | mercurial/util.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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