mercurial/cmdutil.py
changeset 32662 9d201b39ccd9
parent 32658 55ff67ffcead
child 32765 041d976b662a
--- 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: