Show More
@@ -119,6 +119,9 b' class basectx(object):' | |||
|
119 | 119 | except error.LookupError: |
|
120 | 120 | return '' |
|
121 | 121 | |
|
122 | def sub(self, path): | |
|
123 | return subrepo.subrepo(self, path) | |
|
124 | ||
|
122 | 125 | class changectx(basectx): |
|
123 | 126 | """A changecontext object makes access to data related to a particular |
|
124 | 127 | changeset convenient. It represents a read-only context already presnt in |
@@ -380,9 +383,6 b' class changectx(basectx):' | |||
|
380 | 383 | if match.bad(fn, _('no such file in rev %s') % self) and match(fn): |
|
381 | 384 | yield fn |
|
382 | 385 | |
|
383 | def sub(self, path): | |
|
384 | return subrepo.subrepo(self, path) | |
|
385 | ||
|
386 | 386 | def match(self, pats=[], include=None, exclude=None, default='glob'): |
|
387 | 387 | r = self._repo |
|
388 | 388 | return matchmod.match(r.root, r.getcwd(), pats, |
General Comments 0
You need to be logged in to leave comments.
Login now