1499 listsubrepos=False, badfn=None): |
1499 listsubrepos=False, badfn=None): |
1500 r = self._repo |
1500 r = self._repo |
1501 |
1501 |
1502 # Only a case insensitive filesystem needs magic to translate user input |
1502 # Only a case insensitive filesystem needs magic to translate user input |
1503 # to actual case in the filesystem. |
1503 # to actual case in the filesystem. |
1504 if not util.checkcase(r.root): |
1504 if not util.fscasesensitive(r.root): |
1505 return matchmod.icasefsmatcher(r.root, r.getcwd(), pats, include, |
1505 return matchmod.icasefsmatcher(r.root, r.getcwd(), pats, include, |
1506 exclude, default, r.auditor, self, |
1506 exclude, default, r.auditor, self, |
1507 listsubrepos=listsubrepos, |
1507 listsubrepos=listsubrepos, |
1508 badfn=badfn) |
1508 badfn=badfn) |
1509 return matchmod.match(r.root, r.getcwd(), pats, |
1509 return matchmod.match(r.root, r.getcwd(), pats, |