# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1526734518 -19800 # Node ID 5ba0cf22e4d06498e1d5edba3d604a1a0cdb6849 # Parent c560a4ea6dac788c60a7731e512dd5ac1678fab7 py3: fix kwargs handling in hgext/split.py Differential Revision: https://phab.mercurial-scm.org/D3593 diff -r c560a4ea6dac -r 5ba0cf22e4d0 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'))