Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 32682:9d201b39ccd9
export: map wctx.node() to 'ff...' node id (issue5438)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 03 Jun 2017 19:17:19 +0900 |
parents | 55ff67ffcead |
children | 041d976b662a |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sat Jun 03 20:39:33 2017 +0900 +++ b/mercurial/cmdutil.py Sat Jun 03 19:17:19 2017 +0900 @@ -1140,7 +1140,7 @@ extraexportmap = {} def _exportsingle(repo, ctx, match, switch_parent, rev, seqno, write, diffopts): - node = ctx.node() + node = scmutil.binnode(ctx) parents = [p.node() for p in ctx.parents() if p] branch = ctx.branch() if switch_parent: