hgext/convert/subversion.py
changeset 31447 067add650129
parent 31246 b023caa6dbae
child 34131 0fa781320203
--- a/hgext/convert/subversion.py	Mon Mar 13 08:53:31 2017 -0700
+++ b/hgext/convert/subversion.py	Mon Mar 13 09:11:08 2017 -0700
@@ -1186,7 +1186,7 @@
                 # best bet is to assume they are in local
                 # encoding. They will be passed to command line calls
                 # later anyway, so they better be.
-                m.add(encoding.tolocal(name.encode('utf-8')))
+                m.add(encoding.unitolocal(name))
                 break
         return m