##// END OF EJS Templates
manifest: add dirs() to manifestdict...
Drew Gottlieb -
r24322:f263814c default
parent child Browse files
Show More
@@ -6,9 +6,10 b''
6 6 # GNU General Public License version 2 or any later version.
7 7
8 8 from i18n import _
9 import mdiff, parsers, error, revlog, util
9 import mdiff, parsers, error, revlog, util, scmutil
10 10 import array, struct
11 11
12 propertycache = util.propertycache
12 13
13 14 class _lazymanifest(dict):
14 15 """This is the pure implementation of lazymanifest.
@@ -147,6 +148,13 b' class manifestdict(object):'
147 148 files.difference_update(m2)
148 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 158 def matches(self, match):
151 159 '''generate a new manifest filtered by the match argument'''
152 160 if match.always():
General Comments 0
You need to be logged in to leave comments. Login now