diff -r 8a84347b9907 -r 6f447b9ec263 mercurial/dirstate.py --- a/mercurial/dirstate.py Mon Aug 29 17:48:14 2016 -0700 +++ b/mercurial/dirstate.py Tue Aug 30 09:22:53 2016 -0700 @@ -227,7 +227,7 @@ @propertycache def _checkcase(self): - return not util.checkcase(self._join('.hg')) + return not util.fscasesensitive(self._join('.hg')) def _join(self, f): # much faster than os.path.join()