Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 36203:01280638bdb1
cmdutil: make node parameter of makefileobj() mandatory (API)
(repo, node) pair will be replaced with ctx, so makefilename() can be easily
ported to templater.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 02 Apr 2015 23:22:02 +0900 |
parents | 2d6e03a28c31 |
children | 33ed8b511185 |
line wrap: on
line diff
--- 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'