Show More
@@ -246,6 +246,33 b' class verifier(object):' | |||
|
246 | 246 | |
|
247 | 247 | def _verifymanifest(self, mflinkrevs, dir="", storefiles=None, |
|
248 | 248 | subdirprogress=None): |
|
249 | """verify the manifestlog content | |
|
250 | ||
|
251 | Inputs: | |
|
252 | - mflinkrevs: a {manifest-node -> [changelog-revisions]} mapping | |
|
253 | - dir: a subdirectory to check (for tree manifest repo) | |
|
254 | - storefiles: set of currently "orphan" files. | |
|
255 | - subdirprogress: a progress object | |
|
256 | ||
|
257 | This function checks: | |
|
258 | * all of `_checkrevlog` checks (for all manifest related revlogs) | |
|
259 | * all of `_checkentry` checks (for all manifest related revisions) | |
|
260 | * nodes for subdirectory exists in the sub-directory manifest | |
|
261 | * each manifest entries have a file path | |
|
262 | * each manifest node refered in mflinkrevs exist in the manifest log | |
|
263 | ||
|
264 | If tree manifest is in use and a matchers is specified, only the | |
|
265 | sub-directories matching it will be verified. | |
|
266 | ||
|
267 | return a two level mapping: | |
|
268 | {"path" -> { filenode -> changelog-revision}} | |
|
269 | ||
|
270 | This mapping primarily contains entries for every files in the | |
|
271 | repository. In addition, when tree-manifest is used, it also contains | |
|
272 | sub-directory entries. | |
|
273 | ||
|
274 | If a matcher is provided, only matching paths will be included. | |
|
275 | """ | |
|
249 | 276 | repo = self.repo |
|
250 | 277 | ui = self.ui |
|
251 | 278 | match = self.match |
General Comments 0
You need to be logged in to leave comments.
Login now