mercurial/windows.py
changeset 30615 bb77654dc7ae
parent 30612 d623cc6b3742
child 30636 f1c9fafcbf46
--- a/mercurial/windows.py	Sat Dec 17 20:02:50 2016 +0530
+++ b/mercurial/windows.py	Sat Dec 17 20:14:24 2016 +0530
@@ -215,7 +215,7 @@
         msvcrt.setmode(fno(), os.O_BINARY)
 
 def pconvert(path):
-    return path.replace(os.sep, '/')
+    return path.replace(pycompat.ossep, '/')
 
 def localpath(path):
     return path.replace('/', '\\')
@@ -316,7 +316,7 @@
                 return executable
         return None
 
-    if os.sep in command:
+    if pycompat.ossep in command:
         return findexisting(command)
 
     for path in os.environ.get('PATH', '').split(pycompat.ospathsep):