##// END OF EJS Templates
patchbomb: fix patch name generation in patch series
Peter Arrenbrecht -
r7359:b0fa5dbd default
parent child Browse files
Show More
@@ -159,7 +159,7 b' def makepatch(ui, repo, patch, opts, _ch'
159 patchname = patchtags[0]
159 patchname = patchtags[0]
160 elif total > 1:
160 elif total > 1:
161 patchname = cmdutil.make_filename(repo, '%b-%n.patch',
161 patchname = cmdutil.make_filename(repo, '%b-%n.patch',
162 binnode, idx, total)
162 binnode, seqno=idx, total=total)
163 else:
163 else:
164 patchname = cmdutil.make_filename(repo, '%b.patch', binnode)
164 patchname = cmdutil.make_filename(repo, '%b.patch', binnode)
165 disposition = 'inline'
165 disposition = 'inline'
@@ -386,7 +386,7 b' Cc: bar'
386 Content-Type: text/x-patch; charset="us-ascii"
386 Content-Type: text/x-patch; charset="us-ascii"
387 MIME-Version: 1.0
387 MIME-Version: 1.0
388 Content-Transfer-Encoding: 7bit
388 Content-Transfer-Encoding: 7bit
389 Content-Disposition: inline; filename=t2-2.patch
389 Content-Disposition: inline; filename=t2-1.patch
390
390
391 # HG changeset patch
391 # HG changeset patch
392 # User test
392 # User test
@@ -522,7 +522,7 b' Patch subject is complete summary.'
522 Content-Type: text/x-patch; charset="us-ascii"
522 Content-Type: text/x-patch; charset="us-ascii"
523 MIME-Version: 1.0
523 MIME-Version: 1.0
524 Content-Transfer-Encoding: 7bit
524 Content-Transfer-Encoding: 7bit
525 Content-Disposition: attachment; filename=t2-2.patch
525 Content-Disposition: attachment; filename=t2-1.patch
526
526
527 # HG changeset patch
527 # HG changeset patch
528 # User test
528 # User test
@@ -650,7 +650,7 b' Cc: bar'
650 Content-Type: text/x-patch; charset="us-ascii"
650 Content-Type: text/x-patch; charset="us-ascii"
651 MIME-Version: 1.0
651 MIME-Version: 1.0
652 Content-Transfer-Encoding: 7bit
652 Content-Transfer-Encoding: 7bit
653 Content-Disposition: inline; filename=t2-2.patch
653 Content-Disposition: inline; filename=t2-1.patch
654
654
655 # HG changeset patch
655 # HG changeset patch
656 # User test
656 # User test
General Comments 0
You need to be logged in to leave comments. Login now