mercurial/util.py
changeset 7430 f0a3e87c810d
parent 7414 040484030491
child 7461 2a67430f92f1
equal deleted inserted replaced
7429:dbc40381620e 7430:f0a3e87c810d
   605     patmatch = matchfn(pats, '$') or always
   605     patmatch = matchfn(pats, '$') or always
   606     incmatch = always
   606     incmatch = always
   607     if inc:
   607     if inc:
   608         dummy, inckinds, dummy = normalizepats(inc, 'glob')
   608         dummy, inckinds, dummy = normalizepats(inc, 'glob')
   609         incmatch = matchfn(inckinds, '(?:/|$)')
   609         incmatch = matchfn(inckinds, '(?:/|$)')
   610     excmatch = lambda fn: False
   610     excmatch = never
   611     if exc:
   611     if exc:
   612         dummy, exckinds, dummy = normalizepats(exc, 'glob')
   612         dummy, exckinds, dummy = normalizepats(exc, 'glob')
   613         excmatch = matchfn(exckinds, '(?:/|$)')
   613         excmatch = matchfn(exckinds, '(?:/|$)')
   614 
   614 
   615     if not names and inc and not exc:
   615     if not names and inc and not exc: