Show More
@@ -138,6 +138,10 b' class basectx(object):' | |||||
138 | return patch.diff(self._repo, ctx2.node(), self.node(), |
|
138 | return patch.diff(self._repo, ctx2.node(), self.node(), | |
139 | match=match, opts=diffopts) |
|
139 | match=match, opts=diffopts) | |
140 |
|
140 | |||
|
141 | @propertycache | |||
|
142 | def _dirs(self): | |||
|
143 | return scmutil.dirs(self._manifest) | |||
|
144 | ||||
141 | class changectx(basectx): |
|
145 | class changectx(basectx): | |
142 | """A changecontext object makes access to data related to a particular |
|
146 | """A changecontext object makes access to data related to a particular | |
143 | changeset convenient. It represents a read-only context already presnt in |
|
147 | changeset convenient. It represents a read-only context already presnt in | |
@@ -399,10 +403,6 b' class changectx(basectx):' | |||||
399 | if match.bad(fn, _('no such file in rev %s') % self) and match(fn): |
|
403 | if match.bad(fn, _('no such file in rev %s') % self) and match(fn): | |
400 | yield fn |
|
404 | yield fn | |
401 |
|
405 | |||
402 | @propertycache |
|
|||
403 | def _dirs(self): |
|
|||
404 | return scmutil.dirs(self._manifest) |
|
|||
405 |
|
||||
406 | def dirs(self): |
|
406 | def dirs(self): | |
407 | return self._dirs |
|
407 | return self._dirs | |
408 |
|
408 |
General Comments 0
You need to be logged in to leave comments.
Login now