changeset 693:10c0264751da

Be quiet about broken pipes manifest hash: 3163ebe2f15c3a577456cfdcd2b136c3c7cf7378
author mpm@selenic.com
date Thu, 14 Jul 2005 18:41:36 -0800
parents 695dd9a491da
children 51eb248d3348
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: