mercurial/dispatch.py
changeset 30500 fc0cfe6c87d7
parent 30485 acd30a959980
child 30519 20a42325fdef
--- a/mercurial/dispatch.py	Tue Nov 22 18:13:02 2016 -0800
+++ b/mercurial/dispatch.py	Tue Nov 22 18:46:50 2016 +0530
@@ -667,7 +667,7 @@
     """
     if wd is None:
         try:
-            wd = os.getcwd()
+            wd = pycompat.getcwd()
         except OSError as e:
             raise error.Abort(_("error getting current working directory: %s") %
                               e.strerror)