py3: convert opts keys to bytes using pycompat.byteskwargs()
authorPulkit Goyal <7895pulkit@gmail.com>
Thu, 28 Jun 2018 21:24:47 +0530
changeset 38492 2394cd58b81f
parent 38491 72286f9e324f
child 38493 da2a7d8354b2
py3: convert opts keys to bytes using pycompat.byteskwargs() This fixes the py3 build broken due to 56b2074114b19e12abd9cd4c378d58b702232705. Differential Revision: https://phab.mercurial-scm.org/D3853
hgext/rebase.py
--- a/hgext/rebase.py	Thu Jun 28 22:23:08 2018 -0400
+++ b/hgext/rebase.py	Thu Jun 28 21:24:47 2018 +0530
@@ -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'):