Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 14290:86e70956da4f
cmdutil: make_filename -> makefilename
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 10 May 2011 16:08:46 -0500 |
parents | d68ddccf276b |
children | 1a791993ce59 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Tue May 10 16:08:46 2011 -0500 +++ b/mercurial/cmdutil.py Tue May 10 16:08:46 2011 -0500 @@ -189,7 +189,7 @@ return l -def make_filename(repo, pat, node, +def makefilename(repo, pat, node, total=None, seqno=None, revwidth=None, pathname=None): node_expander = { 'H': lambda: hex(node), @@ -246,7 +246,7 @@ return pat if hasattr(pat, 'read') and 'r' in mode: return pat - return open(make_filename(repo, pat, node, total, seqno, revwidth, + return open(makefilename(repo, pat, node, total, seqno, revwidth, pathname), mode)