hgext/convert/subversion.py
changeset 39818 24e493ec2229
parent 39426 34fe76b31ca4
child 40215 4d6019c0e0ef
--- a/hgext/convert/subversion.py	Mon Sep 24 22:46:22 2018 -0400
+++ b/hgext/convert/subversion.py	Fri Sep 21 19:48:23 2018 -0400
@@ -1127,7 +1127,7 @@
         self.delexec = []
         self.copies = []
         self.wc = None
-        self.cwd = pycompat.getcwd()
+        self.cwd = encoding.getcwd()
 
         created = False
         if os.path.isfile(os.path.join(path, '.svn', 'entries')):
@@ -1147,7 +1147,7 @@
                         path = '/' + path
                     path = 'file://' + path
 
-            wcpath = os.path.join(pycompat.getcwd(), os.path.basename(path) +
+            wcpath = os.path.join(encoding.getcwd(), os.path.basename(path) +
                                 '-wc')
             ui.status(_('initializing svn working copy %r\n')
                       % os.path.basename(wcpath))