mercurial/commands.py
changeset 36203 01280638bdb1
parent 36199 2d6e03a28c31
child 36204 33ed8b511185
--- a/mercurial/commands.py	Wed Feb 14 21:36:15 2018 +0900
+++ b/mercurial/commands.py	Thu Apr 02 23:22:02 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)
+        dest = cmdutil.makefileobj(repo, dest, node)
         if not prefix:
             prefix = os.path.basename(repo.root) + '-%h'