mercurial/match.py
changeset 9036 32e678f9045f
parent 8761 0289f384e1e5
child 10263 25e572394f5c
equal deleted inserted replaced
9035:8e34f363dd77 9036:32e678f9045f
     3 #  Copyright 2008, 2009 Matt Mackall <mpm@selenic.com> and others
     3 #  Copyright 2008, 2009 Matt Mackall <mpm@selenic.com> and others
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2, incorporated herein by reference.
     6 # GNU General Public License version 2, incorporated herein by reference.
     7 
     7 
     8 import util, re
     8 import re
       
     9 import util
     9 
    10 
    10 class match(object):
    11 class match(object):
    11     def __init__(self, root, cwd, patterns, include=[], exclude=[],
    12     def __init__(self, root, cwd, patterns, include=[], exclude=[],
    12                  default='glob', exact=False):
    13                  default='glob', exact=False):
    13         """build an object to match a set of file patterns
    14         """build an object to match a set of file patterns