269 def match(self, pats=[], include=None, exclude=None, default='glob', |
269 def match(self, pats=[], include=None, exclude=None, default='glob', |
270 listsubrepos=False, badfn=None): |
270 listsubrepos=False, badfn=None): |
271 r = self._repo |
271 r = self._repo |
272 return matchmod.match(r.root, r.getcwd(), pats, |
272 return matchmod.match(r.root, r.getcwd(), pats, |
273 include, exclude, default, |
273 include, exclude, default, |
274 auditor=r.auditor, ctx=self, |
274 auditor=r.nofsauditor, ctx=self, |
275 listsubrepos=listsubrepos, badfn=badfn) |
275 listsubrepos=listsubrepos, badfn=badfn) |
276 |
276 |
277 def diff(self, ctx2=None, match=None, **opts): |
277 def diff(self, ctx2=None, match=None, **opts): |
278 """Returns a diff generator for the given contexts and matcher""" |
278 """Returns a diff generator for the given contexts and matcher""" |
279 if ctx2 is None: |
279 if ctx2 is None: |