hgext/histedit.py
branchstable
changeset 43373 de2c8722a787
parent 43372 66a0c5faed1e
child 43376 b27cf9f52194
equal deleted inserted replaced
43372:66a0c5faed1e 43373:de2c8722a787
  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