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

login
register
mail settings
Submitter phabricator
Date Nov. 1, 2019, 4:35 p.m.
Message ID <830c00b272cd9ab662c9e24e1745a5ec@localhost.localdomain>
Download mbox | patch
Permalink /patch/42652/
State Not Applicable
Headers show

Comments

phabricator - Nov. 1, 2019, 4:35 p.m.
martinvonz updated this revision to Diff 17441.

REPOSITORY
  rHG Mercurial

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

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