changeset 38069:5ba0cf22e4d0

py3: fix kwargs handling in hgext/split.py Differential Revision: https://phab.mercurial-scm.org/D3593
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 19 May 2018 18:25:18 +0530
parents c560a4ea6dac
children fc3cca406b2e
files hgext/split.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'))