hgext/convert/convcmd.py
changeset 36362 93943eef696f
parent 36186 0f9e52f900c4
child 36587 d4c98b6724e1
--- a/hgext/convert/convcmd.py	Mon Feb 19 21:45:49 2018 +0530
+++ b/hgext/convert/convcmd.py	Mon Feb 19 23:44:41 2018 +0530
@@ -567,6 +567,7 @@
         self.map.close()
 
 def convert(ui, src, dest=None, revmapfile=None, **opts):
+    opts = pycompat.byteskwargs(opts)
     global orig_encoding
     orig_encoding = encoding.encoding
     encoding.encoding = 'UTF-8'