# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-05-19 12:55:18 # Node ID 5ba0cf22e4d06498e1d5edba3d604a1a0cdb6849 # Parent c560a4ea6dac788c60a7731e512dd5ac1678fab7 py3: fix kwargs handling in hgext/split.py Differential Revision: https://phab.mercurial-scm.org/D3593 diff --git a/hgext/split.py b/hgext/split.py --- a/hgext/split.py +++ b/hgext/split.py @@ -60,6 +60,7 @@ def split(ui, repo, *revs, **opts): 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'))