mercurial/match.py
changeset 32415 9695aca1a3a0
parent 32406 952017471f93
child 32444 57d6c0c74b1b
equal deleted inserted replaced
32414:7b7f55d56076 32415:9695aca1a3a0
   118                           the same directory
   118                           the same directory
   119     '<something>' - a pattern of the specified default type
   119     '<something>' - a pattern of the specified default type
   120     """
   120     """
   121     normalize = _donormalize
   121     normalize = _donormalize
   122     if icasefs:
   122     if icasefs:
       
   123         if exact:
       
   124             raise error.Abort(_("a case-insensitive exact matcher doesn't "
       
   125                                 "make sense"))
   123         dirstate = ctx.repo().dirstate
   126         dirstate = ctx.repo().dirstate
   124         dsnormalize = dirstate.normalize
   127         dsnormalize = dirstate.normalize
   125 
   128 
   126         def normalize(patterns, default, root, cwd, auditor, warn):
   129         def normalize(patterns, default, root, cwd, auditor, warn):
   127             kp = _donormalize(patterns, default, root, cwd, auditor, warn)
   130             kp = _donormalize(patterns, default, root, cwd, auditor, warn)