Patchwork D3853: py3: convert opts keys to bytes using pycompat.byteskwargs()

login
register
mail settings
Submitter phabricator
Date June 28, 2018, 5:38 p.m.
Message ID <differential-rev-PHID-DREV-b2cf5vtosk7bn2syllo7-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/32485/
State Superseded
Headers show

Comments

phabricator - June 28, 2018, 5:38 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This fixes the py3 build broken due to
  https://phab.mercurial-scm.org/rHG56b2074114b19e12abd9cd4c378d58b702232705.

REPOSITORY
  rHG Mercurial

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

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
@@ -820,7 +820,7 @@ 
     if dryrun:
         leaveunfinished = True
         inmemory = True
-        rbsrt = rebaseruntime(repo, ui, inmemory, opts)
+        rbsrt = rebaseruntime(repo, ui, inmemory, pycompat.byteskwargs(opts))
         try:
             overrides = {('rebase', 'singletransaction'): True}
             with ui.configoverride(overrides, 'rebase'):