equal
deleted
inserted
replaced
1758 rules = [] |
1758 rules = [] |
1759 for i, r in enumerate(revs): |
1759 for i, r in enumerate(revs): |
1760 rules.append(histeditrule(ui, repo[r], i)) |
1760 rules.append(histeditrule(ui, repo[r], i)) |
1761 with util.with_lc_ctype(): |
1761 with util.with_lc_ctype(): |
1762 rc = curses.wrapper(functools.partial(_chisteditmain, repo, rules)) |
1762 rc = curses.wrapper(functools.partial(_chisteditmain, repo, rules)) |
1763 curses.echo() |
|
1764 curses.endwin() |
|
1765 if rc is False: |
1763 if rc is False: |
1766 ui.write(_(b"histedit aborted\n")) |
1764 ui.write(_(b"histedit aborted\n")) |
1767 return 0 |
1765 return 0 |
1768 if type(rc) is list: |
1766 if type(rc) is list: |
1769 ui.status(_(b"performing changes\n")) |
1767 ui.status(_(b"performing changes\n")) |