py3: fix kwargs handling in hgext/split.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sat, 19 May 2018 18:25:18 +0530
changeset 38069 5ba0cf22e4d0
parent 38068 c560a4ea6dac
child 38070 fc3cca406b2e
py3: fix kwargs handling in hgext/split.py Differential Revision: https://phab.mercurial-scm.org/D3593
hgext/split.py
--- a/hgext/split.py	Sat May 19 18:24:36 2018 +0530
+++ b/hgext/split.py	Sat May 19 18:25:18 2018 +0530
@@ -60,6 +60,7 @@
     By default, rebase connected non-obsoleted descendants onto the new
     changeset. Use --no-rebase to avoid the rebase.
     """
+    opts = pycompat.byteskwargs(opts)
     revlist = []
     if opts.get('rev'):
         revlist.append(opts.get('rev'))