mercurial/match.py
changeset 41676 0531dff73d0b
parent 41675 ddbebce94665
child 42080 f3db5c805a67
equal deleted inserted replaced
41675:ddbebce94665 41676:0531dff73d0b
   188         em = _buildkindpatsmatcher(includematcher, root, kindpats, ctx=ctx,
   188         em = _buildkindpatsmatcher(includematcher, root, kindpats, ctx=ctx,
   189                                    listsubrepos=listsubrepos, badfn=None)
   189                                    listsubrepos=listsubrepos, badfn=None)
   190         m = differencematcher(m, em)
   190         m = differencematcher(m, em)
   191     return m
   191     return m
   192 
   192 
   193 def exact(root, cwd, files, badfn=None):
   193 def exact(files, badfn=None):
   194     return exactmatcher(files, badfn=badfn)
   194     return exactmatcher(files, badfn=badfn)
   195 
   195 
   196 def always(root, cwd, badfn=None):
   196 def always(badfn=None):
   197     return alwaysmatcher(badfn=badfn)
   197     return alwaysmatcher(badfn)
   198 
   198 
   199 def never(root, cwd, badfn=None):
   199 def never(badfn=None):
   200     return nevermatcher(badfn=badfn)
   200     return nevermatcher(badfn)
   201 
   201 
   202 def badmatch(match, badfn):
   202 def badmatch(match, badfn):
   203     """Make a copy of the given matcher, replacing its bad method with the given
   203     """Make a copy of the given matcher, replacing its bad method with the given
   204     one.
   204     one.
   205     """
   205     """