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