Show More
@@ -173,7 +173,17 def _verify(repo): | |||
|
173 | 173 | |
|
174 | 174 | files = sorted(set(filenodes) | set(filelinkrevs)) |
|
175 | 175 | for f in files: |
|
176 | lr = filelinkrevs[f][0] | |
|
176 | try: | |
|
177 | linkrevs = filelinkrevs[f] | |
|
178 | except KeyError: | |
|
179 | # in manifest but not in changelog | |
|
180 | linkrevs = [] | |
|
181 | ||
|
182 | if linkrevs: | |
|
183 | lr = linkrevs[0] | |
|
184 | else: | |
|
185 | lr = None | |
|
186 | ||
|
177 | 187 | try: |
|
178 | 188 | fl = repo.file(f) |
|
179 | 189 | except error.RevlogError, e: |
@@ -191,7 +201,7 def _verify(repo): | |||
|
191 | 201 | for i in fl: |
|
192 | 202 | revisions += 1 |
|
193 | 203 | n = fl.node(i) |
|
194 |
lr = checkentry(fl, i, n, seen, |
|
|
204 | lr = checkentry(fl, i, n, seen, linkrevs, f) | |
|
195 | 205 | if f in filenodes: |
|
196 | 206 | if havemf and n not in filenodes[f]: |
|
197 | 207 | err(lr, _("%s not in manifests") % (short(n)), f) |
General Comments 0
You need to be logged in to leave comments.
Login now