# HG changeset patch # User Brendan Cully # Date 1172873010 28800 # Node ID ef7c39ae5d4c597db98a7ef4a42941e37a123e84 # Parent ef4c1cd6f4e49f5d18831f33d456e562a7070dcf Suppress before hg export -v (regression from previous patch). diff --git a/mercurial/patch.py b/mercurial/patch.py --- 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")