Patchwork D7186: py3: use native strings as keys into **opts in chistedit

login
register
mail settings
Submitter phabricator
Date Nov. 1, 2019, 5:31 p.m.
Message ID <fbccf36ba13e3cae04b4f928258409a8@localhost.localdomain>
Download mbox | patch
Permalink /patch/42673/
State Not Applicable
Headers show

Comments

phabricator - Nov. 1, 2019, 5:31 p.m.
Closed by commit rHGca1398169a73: py3: use native strings as keys into **opts in chistedit (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7186?vs=17441&id=17462

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7186/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7186

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS




To: martinvonz, durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1680,7 +1680,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