mercurial/match.py
changeset 8567 fea40a677d43
parent 8566 744d6322b05b
child 8568 4fa1618bf495
equal deleted inserted replaced
8566:744d6322b05b 8567:fea40a677d43
    46 class exact(_match):
    46 class exact(_match):
    47     def __init__(self, root, cwd, files):
    47     def __init__(self, root, cwd, files):
    48         _match.__init__(self, root, cwd, files, self.exact, False)
    48         _match.__init__(self, root, cwd, files, self.exact, False)
    49 
    49 
    50 class match(_match):
    50 class match(_match):
    51     def __init__(self, root, cwd, patterns, include, exclude, default):
    51     def __init__(self, root, cwd, patterns, include=[], exclude=[],
       
    52                  default='glob'):
    52         f, mf, ap = util.matcher(root, cwd, patterns, include, exclude,
    53         f, mf, ap = util.matcher(root, cwd, patterns, include, exclude,
    53                                  default)
    54                                  default)
    54         _match.__init__(self, root, cwd, f, mf, ap)
    55         _match.__init__(self, root, cwd, f, mf, ap)