equal
deleted
inserted
replaced
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 |