changeset 7615 | ab39d1813e51 |
parent 7572 | 4f58147ea829 |
child 7664 | 3cc74ee75b0d |
--- a/mercurial/patch.py Thu Jan 08 14:26:30 2009 +0100 +++ b/mercurial/patch.py Fri Jan 09 01:36:35 2009 +0100 @@ -1338,8 +1338,6 @@ for chunk in diff(repo, prev, node, opts=opts): fp.write(chunk) - if fp not in (sys.stdout, repo.ui): - fp.close() for seqno, rev in enumerate(revs): single(rev, seqno+1, fp)