mercurial/posix.py
branchstable
changeset 15672 2ebe3d0ce91d
parent 15563 b61fa7481a68
child 15711 c51c9dc13a58
equal deleted inserted replaced
15671:3c5e818ac679 15672:2ebe3d0ce91d
   162     guaranteed to work for files, not directories."""
   162     guaranteed to work for files, not directories."""
   163     st1 = os.lstat(fpath1)
   163     st1 = os.lstat(fpath1)
   164     st2 = os.lstat(fpath2)
   164     st2 = os.lstat(fpath2)
   165     return st1.st_dev == st2.st_dev
   165     return st1.st_dev == st2.st_dev
   166 
   166 
       
   167 encodinglower = None
       
   168 encodingupper = None
       
   169 
   167 # os.path.normcase is a no-op, which doesn't help us on non-native filesystems
   170 # os.path.normcase is a no-op, which doesn't help us on non-native filesystems
   168 def normcase(path):
   171 def normcase(path):
   169     return path.lower()
   172     return path.lower()
   170 
   173 
   171 if sys.platform == 'darwin':
   174 if sys.platform == 'darwin':