Patchwork D2043: py3: use pycompat.strkwargs() to convert kwargs' key to str

login
register
mail settings
Submitter phabricator
Date Feb. 5, 2018, 8:23 a.m.
Message ID <differential-rev-PHID-DREV-g4xpkv6uvmyvmkpxs3rx-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/27303/
State Superseded
Headers show

Comments

phabricator - Feb. 5, 2018, 8:23 a.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -499,7 +499,8 @@ 
                 if not self.collapsef:
                     merging = p2 != nullrev
                     editform = cmdutil.mergeeditform(merging, 'rebase')
-                    editor = cmdutil.getcommiteditor(editform=editform, **opts)
+                    editor = cmdutil.getcommiteditor(editform=editform,
+                                                     **pycompat.strkwargs(opts))
                     if self.wctx.isinmemory():
                         newnode = concludememorynode(repo, rev, p1, p2,
                             wctx=self.wctx,