Mercurial > hg-stable
changeset 773:d77c1031fd17
Hide errno in abort messages
author | mpm@selenic.com |
---|---|
date | Tue, 26 Jul 2005 21:52:40 -0500 |
parents | f05deda58457 |
children | 6592c4f5cd4f |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jul 25 12:02:29 2005 -0500 +++ b/mercurial/commands.py Tue Jul 26 21:52:40 2005 -0500 @@ -1346,7 +1346,7 @@ if hasattr(inst, "code"): u.warn("abort: %s\n" % inst) elif hasattr(inst, "reason"): - u.warn("abort: error %d: %s\n" % (inst.reason[0], inst.reason[1])) + u.warn("abort: error: %s\n" % inst.reason[1]) elif hasattr(inst, "args") and inst[0] == errno.EPIPE: if u.debugflag: u.warn("broken pipe\n") else: