equal
deleted
inserted
replaced
1685 ui.status(_(b"performing changes\n")) |
1685 ui.status(_(b"performing changes\n")) |
1686 rules = makecommands(rc) |
1686 rules = makecommands(rc) |
1687 with repo.vfs(b'chistedit', b'w+') as fp: |
1687 with repo.vfs(b'chistedit', b'w+') as fp: |
1688 for r in rules: |
1688 for r in rules: |
1689 fp.write(r) |
1689 fp.write(r) |
1690 opts[b'commands'] = fp.name |
1690 opts['commands'] = fp.name |
1691 return _texthistedit(ui, repo, *freeargs, **opts) |
1691 return _texthistedit(ui, repo, *freeargs, **opts) |
1692 except KeyboardInterrupt: |
1692 except KeyboardInterrupt: |
1693 pass |
1693 pass |
1694 return -1 |
1694 return -1 |
1695 |
1695 |