Show More
@@ -4534,7 +4534,8 b' def resolve(ui, repo, *pats, **opts):' | |||
|
4534 | 4534 | ui.pager('resolve') |
|
4535 | 4535 | fm = ui.formatter('resolve', opts) |
|
4536 | 4536 | ms = mergemod.mergestate.read(repo) |
|
4537 | m = scmutil.match(repo[None], pats, opts) | |
|
4537 | wctx = repo[None] | |
|
4538 | m = scmutil.match(wctx, pats, opts) | |
|
4538 | 4539 | |
|
4539 | 4540 | # Labels and keys based on merge state. Unresolved path conflicts show |
|
4540 | 4541 | # as 'P'. Resolved path conflicts show as 'R', the same as normal |
@@ -4554,6 +4555,7 b' def resolve(ui, repo, *pats, **opts):' | |||
|
4554 | 4555 | |
|
4555 | 4556 | label, key = mergestateinfo[ms[f]] |
|
4556 | 4557 | fm.startitem() |
|
4558 | fm.context(ctx=wctx) | |
|
4557 | 4559 | fm.condwrite(not nostatus, 'status', '%s ', key, label=label) |
|
4558 | 4560 | fm.write('path', '%s\n', f, label=label) |
|
4559 | 4561 | fm.end() |
General Comments 0
You need to be logged in to leave comments.
Login now