mercurial/cmdutil.py
changeset 32662 9d201b39ccd9
parent 32658 55ff67ffcead
child 32765 041d976b662a
equal deleted inserted replaced
32661:a3064fe3e495 32662:9d201b39ccd9
  1138 # function as to return a string to be added to the header or None
  1138 # function as to return a string to be added to the header or None
  1139 # it is given two arguments (sequencenumber, changectx)
  1139 # it is given two arguments (sequencenumber, changectx)
  1140 extraexportmap = {}
  1140 extraexportmap = {}
  1141 
  1141 
  1142 def _exportsingle(repo, ctx, match, switch_parent, rev, seqno, write, diffopts):
  1142 def _exportsingle(repo, ctx, match, switch_parent, rev, seqno, write, diffopts):
  1143     node = ctx.node()
  1143     node = scmutil.binnode(ctx)
  1144     parents = [p.node() for p in ctx.parents() if p]
  1144     parents = [p.node() for p in ctx.parents() if p]
  1145     branch = ctx.branch()
  1145     branch = ctx.branch()
  1146     if switch_parent:
  1146     if switch_parent:
  1147         parents.reverse()
  1147         parents.reverse()
  1148 
  1148