Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 14290:86e70956da4f
cmdutil: make_filename -> makefilename
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 10 May 2011 16:08:46 -0500 |
parents | 924c82157d46 |
children | 37e80214badf |
line wrap: on
line diff
--- a/hgext/patchbomb.py Tue May 10 16:08:46 2011 -0500 +++ b/hgext/patchbomb.py Tue May 10 16:08:46 2011 -0500 @@ -119,10 +119,10 @@ if patchtags: patchname = patchtags[0] elif total > 1: - patchname = cmdutil.make_filename(repo, '%b-%n.patch', + patchname = cmdutil.makefilename(repo, '%b-%n.patch', binnode, seqno=idx, total=total) else: - patchname = cmdutil.make_filename(repo, '%b.patch', binnode) + patchname = cmdutil.makefilename(repo, '%b.patch', binnode) disposition = 'inline' if opts.get('attach'): disposition = 'attachment'