# HG changeset patch # User Martin von Zweigbergk # Date 1572559392 25200 # Node ID de2c8722a78724c0f1bc92d0daf0b754be49cf83 # Parent 66a0c5faed1ea46f8c72c9012293292e9bc20dac py3: use native strings as keys into **opts in chistedit Now you should be able to successfully confirm your histedit plan (at least in the case I tried). Even continuing after conflicts and finishing the histedit worked. Differential Revision: https://phab.mercurial-scm.org/D7186 diff -r 66a0c5faed1e -r de2c8722a787 hgext/histedit.py --- a/hgext/histedit.py Thu Oct 31 15:00:49 2019 -0700 +++ b/hgext/histedit.py Thu Oct 31 15:03:12 2019 -0700 @@ -1687,7 +1687,7 @@ with repo.vfs(b'chistedit', b'w+') as fp: for r in rules: fp.write(r) - opts[b'commands'] = fp.name + opts['commands'] = fp.name return _texthistedit(ui, repo, *freeargs, **opts) except KeyboardInterrupt: pass