mercurial/dirstate.py
changeset 29889 6f447b9ec263
parent 29772 2ebd507e5ac3
child 30026 ba06562a06a2
equal deleted inserted replaced
29888:8a84347b9907 29889:6f447b9ec263
   225     def _checkexec(self):
   225     def _checkexec(self):
   226         return util.checkexec(self._root)
   226         return util.checkexec(self._root)
   227 
   227 
   228     @propertycache
   228     @propertycache
   229     def _checkcase(self):
   229     def _checkcase(self):
   230         return not util.checkcase(self._join('.hg'))
   230         return not util.fscasesensitive(self._join('.hg'))
   231 
   231 
   232     def _join(self, f):
   232     def _join(self, f):
   233         # much faster than os.path.join()
   233         # much faster than os.path.join()
   234         # it's safe because f is always a relative path
   234         # it's safe because f is always a relative path
   235         return self._rootdir + f
   235         return self._rootdir + f