##// END OF EJS Templates
verify: include "manifest" prefix in a few more places...
Martin von Zweigbergk -
r28113:d2e0d578 default
parent child Browse files
Show More
@@ -229,14 +229,14 b' class verifier(object):'
229 filenodes.setdefault(
229 filenodes.setdefault(
230 _normpath(f), {}).setdefault(fn, lr)
230 _normpath(f), {}).setdefault(fn, lr)
231 except Exception as inst:
231 except Exception as inst:
232 self.exc(lr, _("reading manifest delta %s") % short(n), inst)
232 self.exc(lr, _("reading delta %s") % short(n), inst)
233 ui.progress(_('checking'), None)
233 ui.progress(_('checking'), None)
234
234
235 if self.havemf:
235 if self.havemf:
236 for c, m in sorted([(c, m) for m in mflinkrevs
236 for c, m in sorted([(c, m) for m in mflinkrevs
237 for c in mflinkrevs[m]]):
237 for c in mflinkrevs[m]]):
238 self.err(c, _("changeset refers to unknown manifest %s") %
238 self.err(c, _("changeset refers to unknown revision %s") %
239 short(m))
239 short(m), "manifest")
240
240
241 return filenodes
241 return filenodes
242
242
@@ -171,7 +171,7 b' Manifest log missing entry'
171
171
172 $ cp -f .hg/store-partial/00manifest.* .hg/store
172 $ cp -f .hg/store-partial/00manifest.* .hg/store
173 $ hg verify -q
173 $ hg verify -q
174 1: changeset refers to unknown manifest 941fc4534185
174 manifest@1: changeset refers to unknown revision 941fc4534185
175 file@1: c10f2164107d not in manifests
175 file@1: c10f2164107d not in manifests
176 2 integrity errors encountered!
176 2 integrity errors encountered!
177 (first damaged changeset appears to be 1)
177 (first damaged changeset appears to be 1)
@@ -218,7 +218,7 b' Manifest and filelog missing entry'
218 $ cp -f .hg/store-partial/00manifest.* .hg/store
218 $ cp -f .hg/store-partial/00manifest.* .hg/store
219 $ cp -f .hg/store-partial/data/file.* .hg/store/data
219 $ cp -f .hg/store-partial/data/file.* .hg/store/data
220 $ hg verify -q
220 $ hg verify -q
221 1: changeset refers to unknown manifest 941fc4534185
221 manifest@1: changeset refers to unknown revision 941fc4534185
222 1 integrity errors encountered!
222 1 integrity errors encountered!
223 (first damaged changeset appears to be 1)
223 (first damaged changeset appears to be 1)
224 [1]
224 [1]
@@ -245,7 +245,7 b' Corrupt manifest log base node to cause '
245 $ printf abcd | dd conv=notrunc of=.hg/store/00manifest.i bs=1 seek=16 \
245 $ printf abcd | dd conv=notrunc of=.hg/store/00manifest.i bs=1 seek=16 \
246 > 2> /dev/null
246 > 2> /dev/null
247 $ hg verify -q
247 $ hg verify -q
248 0: reading manifest delta d0b6632564d4: * (glob)
248 manifest@0: reading delta d0b6632564d4: * (glob)
249 file@0: 362fef284ce2 not in manifests
249 file@0: 362fef284ce2 not in manifests
250 2 integrity errors encountered!
250 2 integrity errors encountered!
251 (first damaged changeset appears to be 0)
251 (first damaged changeset appears to be 0)
General Comments 0
You need to be logged in to leave comments. Login now