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