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

login
register
mail settings
Submitter phabricator
Date Nov. 1, 2019, 4:17 a.m.
Message ID <473b1bba7c7eeda3014fb004f92dfb92@localhost.localdomain>
Download mbox | patch
Permalink /patch/42636/
State Not Applicable
Headers show

Comments

phabricator - Nov. 1, 2019, 4:17 a.m.
martinvonz updated this revision to Diff 17433.

REPOSITORY
  rHG Mercurial

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

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