mercurial/commands.py
changeset 36205 976e1cfb2f64
parent 36204 33ed8b511185
child 36210 5c9bdfb32eac
--- a/mercurial/commands.py	Thu Apr 02 23:32:28 2015 +0900
+++ b/mercurial/commands.py	Thu Apr 02 23:28:16 2015 +0900
@@ -486,7 +486,7 @@
     if dest == '-':
         if kind == 'files':
             raise error.Abort(_('cannot archive plain files to stdout'))
-        dest = cmdutil.makefileobj(repo, dest, node)
+        dest = cmdutil.makefileobj(ctx, dest)
         if not prefix:
             prefix = os.path.basename(repo.root) + '-%h'