Show More
@@ -1432,7 +1432,7 b' def _chisteditmain(repo, rules, stdscr):' | |||||
1432 |
|
1432 | |||
1433 | conflicts = rule.conflicts |
|
1433 | conflicts = rule.conflicts | |
1434 | if len(conflicts) > 0: |
|
1434 | if len(conflicts) > 0: | |
1435 |
conflictstr = b','.join(map(lambda r: |
|
1435 | conflictstr = b','.join(map(lambda r: r.ctx.hex(), conflicts)) | |
1436 | conflictstr = b"changed files overlap with %s" % conflictstr |
|
1436 | conflictstr = b"changed files overlap with %s" % conflictstr | |
1437 | else: |
|
1437 | else: | |
1438 | conflictstr = b'no overlap' |
|
1438 | conflictstr = b'no overlap' | |
@@ -1471,7 +1471,9 b' pgup/K: move patch up, pgdn/J: move patc' | |||||
1471 |
|
1471 | |||
1472 | conflicts = [r.ctx for r in rules if r.conflicts] |
|
1472 | conflicts = [r.ctx for r in rules if r.conflicts] | |
1473 | if len(conflicts) > 0: |
|
1473 | if len(conflicts) > 0: | |
1474 |
line = b"potential conflict in %s" % b','.join( |
|
1474 | line = b"potential conflict in %s" % b','.join( | |
|
1475 | map(pycompat.bytestr, conflicts) | |||
|
1476 | ) | |||
1475 | addln(rulesscr, -1, 0, line, curses.color_pair(COLOR_WARN)) |
|
1477 | addln(rulesscr, -1, 0, line, curses.color_pair(COLOR_WARN)) | |
1476 |
|
1478 | |||
1477 | for y, rule in enumerate(rules[start:]): |
|
1479 | for y, rule in enumerate(rules[start:]): |
General Comments 0
You need to be logged in to leave comments.
Login now