hgext/convert/gnuarch.py
changeset 43072 058c2468b2f5
parent 39904 5fe0b880200e
child 43076 2372284d9457
--- a/hgext/convert/gnuarch.py	Sat Oct 05 15:28:52 2019 -0400
+++ b/hgext/convert/gnuarch.py	Fri Oct 04 16:07:32 2019 -0400
@@ -85,7 +85,7 @@
 
         # Get name of temporary directory
         version = self.treeversion.split('/')
-        self.tmppath = os.path.join(tempfile.gettempdir(),
+        self.tmppath = os.path.join(pycompat.fsencode(tempfile.gettempdir()),
                                     'hg-%s' % version[1])
 
         # Generate parents dictionary