# HG changeset patch # User Martin von Zweigbergk # Date 2019-10-31 22:03:12 # 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 --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1687,7 +1687,7 @@ def _chistedit(ui, repo, *freeargs, **op 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