changeset 4125:ef7c39ae5d4c

Suppress <stdout> before hg export -v (regression from previous patch).
author Brendan Cully <brendan@kublai.com>
date Fri, 02 Mar 2007 14:03:30 -0800
parents ef4c1cd6f4e4
children b9dcee25be8e
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -610,7 +610,7 @@ def export(repo, revs, template='hg-%h.p
         if not fp:
             fp = cmdutil.make_file(repo, template, node, total=total,
                                    seqno=seqno, revwidth=revwidth)
-        if hasattr(fp, 'name'):
+        if fp != sys.stdout and hasattr(fp, 'name'):
             repo.ui.note("%s\n" % fp.name)
 
         fp.write("# HG changeset patch\n")