# HG changeset patch # User mpm@selenic.com # Date 1121395296 28800 # Node ID 10c0264751dad77c6b461d55d86d80e33a76ddc9 # Parent 695dd9a491dad2a63fe7770149da096c194bf0da Be quiet about broken pipes manifest hash: 3163ebe2f15c3a577456cfdcd2b136c3c7cf7378 diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1267,7 +1267,7 @@ def dispatch(args): elif hasattr(inst, "reason"): u.warn("abort: error %d: %s\n" % (inst.reason[0], inst.reason[1])) elif hasattr(inst, "args") and inst[0] == errno.EPIPE: - u.warn("broken pipe\n") + if u.debugflag: u.warn("broken pipe\n") else: raise except OSError, inst: