mercurial/dirstate.py
changeset 39823 24e493ec2229
parent 39471 481db51c83e9
child 40493 7caf632e30c3
--- a/mercurial/dirstate.py	Mon Sep 24 22:46:22 2018 -0400
+++ b/mercurial/dirstate.py	Fri Sep 21 19:48:23 2018 -0400
@@ -210,7 +210,7 @@
         forcecwd = self._ui.config('ui', 'forcecwd')
         if forcecwd:
             return forcecwd
-        return pycompat.getcwd()
+        return encoding.getcwd()
 
     def getcwd(self):
         '''Return the path from which a canonical path is calculated.