equal
deleted
inserted
replaced
100 ret = orig(repo, node, branch, bheads=bheads, opts=opts) |
100 ret = orig(repo, node, branch, bheads=bheads, opts=opts) |
101 |
101 |
102 # logic copy-pasted from cmdutil.commitstatus() |
102 # logic copy-pasted from cmdutil.commitstatus() |
103 if opts is None: |
103 if opts is None: |
104 opts = {} |
104 opts = {} |
105 ctx = repo[node] |
|
106 if ctx.topic(): |
105 if ctx.topic(): |
107 return ret |
106 return ret |
108 parents = ctx.parents() |
107 parents = ctx.parents() |
109 |
108 |
110 if (not opts.get('amend') and bheads and node not in bheads and not |
109 if (not opts.get('amend') and bheads and node not in bheads and not |