diff -r 33ed8b511185 -r 976e1cfb2f64 mercurial/commands.py --- 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'