Show More
@@ -6,9 +6,10 b'' | |||||
6 | # GNU General Public License version 2 or any later version. |
|
6 | # GNU General Public License version 2 or any later version. | |
7 |
|
7 | |||
8 | from i18n import _ |
|
8 | from i18n import _ | |
9 | import mdiff, parsers, error, revlog, util |
|
9 | import mdiff, parsers, error, revlog, util, scmutil | |
10 | import array, struct |
|
10 | import array, struct | |
11 |
|
11 | |||
|
12 | propertycache = util.propertycache | |||
12 |
|
13 | |||
13 | class _lazymanifest(dict): |
|
14 | class _lazymanifest(dict): | |
14 | """This is the pure implementation of lazymanifest. |
|
15 | """This is the pure implementation of lazymanifest. | |
@@ -147,6 +148,13 b' class manifestdict(object):' | |||||
147 | files.difference_update(m2) |
|
148 | files.difference_update(m2) | |
148 | return files |
|
149 | return files | |
149 |
|
150 | |||
|
151 | @propertycache | |||
|
152 | def _dirs(self): | |||
|
153 | return scmutil.dirs(self) | |||
|
154 | ||||
|
155 | def dirs(self): | |||
|
156 | return self._dirs | |||
|
157 | ||||
150 | def matches(self, match): |
|
158 | def matches(self, match): | |
151 | '''generate a new manifest filtered by the match argument''' |
|
159 | '''generate a new manifest filtered by the match argument''' | |
152 | if match.always(): |
|
160 | if match.always(): |
General Comments 0
You need to be logged in to leave comments.
Login now