mercurial/commands.py
changeset 14290 86e70956da4f
parent 14289 d68ddccf276b
child 14291 1a791993ce59
--- a/mercurial/commands.py	Tue May 10 16:08:46 2011 -0500
+++ b/mercurial/commands.py	Tue May 10 16:08:46 2011 -0500
@@ -187,7 +187,7 @@
     if not ctx:
         raise util.Abort(_('no working directory: please specify a revision'))
     node = ctx.node()
-    dest = cmdutil.make_filename(repo, dest, node)
+    dest = cmdutil.makefilename(repo, dest, node)
     if os.path.realpath(dest) == repo.root:
         raise util.Abort(_('repository root cannot be destination'))
 
@@ -201,7 +201,7 @@
         if not prefix:
             prefix = os.path.basename(repo.root) + '-%h'
 
-    prefix = cmdutil.make_filename(repo, prefix, node)
+    prefix = cmdutil.makefilename(repo, prefix, node)
     matchfn = cmdutil.match(repo, [], opts)
     archival.archive(repo, dest, node, kind, not opts.get('no_decode'),
                      matchfn, prefix, subrepos=opts.get('subrepos'))