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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Jun 28 17:38:48 UTC 2018


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

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'):



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


More information about the Mercurial-devel mailing list