Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 7359:b0fa5dbd9cdd
patchbomb: fix patch name generation in patch series
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Wed, 12 Nov 2008 19:12:32 +0100 |
parents | cad454f295b0 |
children | 42f1b8cb9a60 |
line wrap: on
line diff
--- 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'