--- 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))