hgext/uncommit.py
changeset 35004 3ebae3ec4664
parent 34758 9ea416a4b4f7
child 35182 867990238dc6
--- a/hgext/uncommit.py	Mon Oct 23 00:05:04 2017 +0530
+++ b/hgext/uncommit.py	Mon Oct 23 00:06:23 2017 +0530
@@ -29,6 +29,7 @@
     error,
     node,
     obsolete,
+    pycompat,
     registrar,
     scmutil,
 )
@@ -152,6 +153,7 @@
     deleted in the changeset will be left unchanged, and so will remain
     modified in the working directory.
     """
+    opts = pycompat.byteskwargs(opts)
 
     with repo.wlock(), repo.lock():
         wctx = repo[None]