hgext/split.py
changeset 36400 7b86aa31b004
parent 35455 02ea370c2baa
child 36408 83bade6206d4
--- a/hgext/split.py	Sat Feb 24 16:16:14 2018 +0530
+++ b/hgext/split.py	Sat Feb 24 16:18:40 2018 +0530
@@ -24,6 +24,7 @@
     hg,
     obsolete,
     phases,
+    pycompat,
     registrar,
     revsetlang,
     scmutil,
@@ -160,7 +161,7 @@
             'interactive': True,
             'message': header + ctx.description(),
         })
-        commands.commit(ui, repo, **opts)
+        commands.commit(ui, repo, **pycompat.strkwargs(opts))
         newctx = repo['.']
         committed.append(newctx)