changeset 250 | 45ee7c4cae4f |
parent 249 | 619e775aa7f9 |
child 252 | 5eda6c542978 |
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -571,6 +571,11 @@ def dispatch(args): u.warn("killed!\n") except KeyboardInterrupt: u.warn("interrupted!\n") + except IOError, inst: + if inst.errno == 32: + u.warn("broken pipe\n") + else: + raise except TypeError, inst: import traceback # was this an argument error?