--- a/hgext/patchbomb.py Wed Nov 12 19:12:26 2008 +0100
+++ b/hgext/patchbomb.py Wed Nov 12 19:12:32 2008 +0100
@@ -159,7 +159,7 @@
patchname = patchtags[0]
elif total > 1:
patchname = cmdutil.make_filename(repo, '%b-%n.patch',
- binnode, idx, total)
+ binnode, seqno=idx, total=total)
else:
patchname = cmdutil.make_filename(repo, '%b.patch', binnode)
disposition = 'inline'
--- a/tests/test-patchbomb.out Wed Nov 12 19:12:26 2008 +0100
+++ b/tests/test-patchbomb.out Wed Nov 12 19:12:32 2008 +0100
@@ -386,7 +386,7 @@
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
-Content-Disposition: inline; filename=t2-2.patch
+Content-Disposition: inline; filename=t2-1.patch
# HG changeset patch
# User test
@@ -522,7 +522,7 @@
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
-Content-Disposition: attachment; filename=t2-2.patch
+Content-Disposition: attachment; filename=t2-1.patch
# HG changeset patch
# User test
@@ -650,7 +650,7 @@
Content-Type: text/x-patch; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
-Content-Disposition: inline; filename=t2-2.patch
+Content-Disposition: inline; filename=t2-1.patch
# HG changeset patch
# User test