equal
deleted
inserted
replaced
196 % min(self.badrevs)) |
196 % min(self.badrevs)) |
197 return 1 |
197 return 1 |
198 return 0 |
198 return 0 |
199 |
199 |
200 def _verifychangelog(self): |
200 def _verifychangelog(self): |
|
201 """verify the changelog of a repository |
|
202 |
|
203 The following checks are performed: |
|
204 - all of `_checkrevlog` checks, |
|
205 - all of `_checkentry` checks (for each revisions), |
|
206 - each revision can be read. |
|
207 |
|
208 The function returns some of the data observed in the changesets as a |
|
209 (mflinkrevs, filelinkrevs) tuples: |
|
210 - mflinkrevs: is a { manifest-node -> [changelog-rev] } mapping |
|
211 - filelinkrevs: is a { file-path -> [changelog-rev] } mapping |
|
212 |
|
213 If a matcher was specified, filelinkrevs will only contains matched |
|
214 files. |
|
215 """ |
201 ui = self.ui |
216 ui = self.ui |
202 repo = self.repo |
217 repo = self.repo |
203 match = self.match |
218 match = self.match |
204 cl = repo.changelog |
219 cl = repo.changelog |
205 |
220 |