equal
deleted
inserted
replaced
210 return subrepo.subrepo(self, path) |
210 return subrepo.subrepo(self, path) |
211 |
211 |
212 def match(self, pats=[], include=None, exclude=None, default='glob'): |
212 def match(self, pats=[], include=None, exclude=None, default='glob'): |
213 r = self._repo |
213 r = self._repo |
214 return matchmod.match(r.root, r.getcwd(), pats, |
214 return matchmod.match(r.root, r.getcwd(), pats, |
215 include, exclude, default, auditor=r.auditor) |
215 include, exclude, default, |
|
216 auditor=r.auditor, ctx=self) |
216 |
217 |
217 def diff(self, ctx2=None, match=None, **opts): |
218 def diff(self, ctx2=None, match=None, **opts): |
218 """Returns a diff generator for the given contexts and matcher""" |
219 """Returns a diff generator for the given contexts and matcher""" |
219 if ctx2 is None: |
220 if ctx2 is None: |
220 ctx2 = self.p1() |
221 ctx2 = self.p1() |