mercurial/commands.py
changeset 755 87e2b094ab86
parent 750 25986be9a1aa
child 757 7000825ef3ba
--- a/mercurial/commands.py	Fri Jul 22 07:30:52 2005 +0100
+++ b/mercurial/commands.py	Fri Jul 22 07:42:47 2005 +0100
@@ -562,7 +562,7 @@
                    node=node, total=total, seqno=seqno,
                    revwidth=revwidth)
     if fp != sys.stdout:
-        ui.note("Exporting patch to '%s'.\n" % fp.name)
+        ui.note("%s\n" % fp.name)
 
     fp.write("# HG changeset patch\n")
     fp.write("# User %s\n" % change[1])
@@ -584,6 +584,7 @@
     revs = list(revrange(ui, repo, changesets))
     total = len(revs)
     revwidth = max(len(revs[0]), len(revs[-1]))
+    ui.note(len(revs) > 1 and "Exporting patches:\n" or "Exporting patch:\n")
     for cset in revs:
         seqno += 1
         doexport(ui, repo, cset, seqno, total, revwidth, opts)