# HG changeset patch # User Volker.Kleinfeld@gmx.de # Date 1125109204 25200 # Node ID e254bcbfe636e97301f76c7da241b07be14f3d36 # Parent 55bf5cfde69e70d8c95dffb1230f1578a077e9b7 Fixed system command abord reason on windows. diff -r 55bf5cfde69e -r e254bcbfe636 mercurial/util.py --- 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