equal
deleted
inserted
replaced
33 manifest) |
33 manifest) |
34 m._files = filter(notlfile, m._files) |
34 m._files = filter(notlfile, m._files) |
35 m._fmap = set(m._files) |
35 m._fmap = set(m._files) |
36 m._always = False |
36 m._always = False |
37 origmatchfn = m.matchfn |
37 origmatchfn = m.matchfn |
38 m.matchfn = lambda f: notlfile(f) and origmatchfn(f) or None |
38 m.matchfn = lambda f: notlfile(f) and origmatchfn(f) |
39 return m |
39 return m |
40 oldmatch = installmatchfn(overridematch) |
40 oldmatch = installmatchfn(overridematch) |
41 |
41 |
42 def installmatchfn(f): |
42 def installmatchfn(f): |
43 '''monkey patch the scmutil module with a custom match function. |
43 '''monkey patch the scmutil module with a custom match function. |