mercurial/patch.py
changeset 7319 eae1767cc6a8
parent 7308 b6f5490effbf
child 7389 72f0e4ebd9e6
--- a/mercurial/patch.py	Thu Nov 06 10:39:52 2008 +0100
+++ b/mercurial/patch.py	Thu Nov 06 11:17:38 2008 +0100
@@ -1294,7 +1294,8 @@
 
         if not fp:
             fp = cmdutil.make_file(repo, template, node, total=total,
-                                   seqno=seqno, revwidth=revwidth)
+                                   seqno=seqno, revwidth=revwidth,
+                                   mode='ab')
         if fp != sys.stdout and hasattr(fp, 'name'):
             repo.ui.note("%s\n" % fp.name)