Mercurial > hg
changeset 1391:9395c2f94130
Fix patch failure reporting exception
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 15 Oct 2005 15:04:45 -0700 |
parents | ce95599eedac |
children | 32d8068b3e36 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Sat Oct 15 15:04:22 2005 -0700 +++ b/mercurial/util.py Sat Oct 15 15:04:45 2005 -0700 @@ -82,7 +82,7 @@ files.setdefault(pf, 1) code = fp.close() if code: - raise Abort("patch command failed: %s" % explain_exit(code)) + raise Abort("patch command failed: %s" % explain_exit(code)[0]) return files.keys() def binary(s):