Show More
@@ -438,13 +438,13 b' def debugdrawdag(ui, repo, **opts):' | |||
|
438 | 438 | if cmd in (b'replace', b'rebase', b'amend'): |
|
439 | 439 | nodes = [getctx(m) for m in arg.split(b'->')] |
|
440 | 440 | for i in range(len(nodes) - 1): |
|
441 | rels.append((nodes[i], (nodes[i + 1],))) | |
|
441 | rels.append(((nodes[i],), (nodes[i + 1],))) | |
|
442 | 442 | elif cmd in (b'split',): |
|
443 | 443 | pre, succs = arg.split(b'->') |
|
444 | 444 | succs = succs.split(b',') |
|
445 | rels.append((getctx(pre), (getctx(s) for s in succs))) | |
|
445 | rels.append(((getctx(pre),), (getctx(s) for s in succs))) | |
|
446 | 446 | elif cmd in (b'prune',): |
|
447 | 447 | for n in arg.split(b','): |
|
448 | rels.append((getctx(n), ())) | |
|
448 | rels.append(((getctx(n),), ())) | |
|
449 | 449 | if rels: |
|
450 | 450 | obsolete.createmarkers(repo, rels, date=(0, 0), operation=cmd) |
General Comments 0
You need to be logged in to leave comments.
Login now