mercurial/commands.py
changeset 693 10c0264751da
parent 689 4315db147f00
child 705 574869103985
--- a/mercurial/commands.py	Wed Jul 13 01:53:27 2005 -0800
+++ b/mercurial/commands.py	Thu Jul 14 18:41:36 2005 -0800
@@ -1267,7 +1267,7 @@
         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: