Mercurial > hg
comparison tests/test-largefiles.t @ 18545:a49b7c9fc246
largefiles: report localstore errors with single line warnings messages
The actual hash is also not relevant to report.
This makes verify output with multiple failures easier to process.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 04 Feb 2013 02:46:53 +0100 |
parents | ef60083b5536 |
children | fb0e8966a4be |
comparison
equal
deleted
inserted
replaced
18544:d0a8f09a22eb | 18545:a49b7c9fc246 |
---|---|
1200 checking manifests | 1200 checking manifests |
1201 crosschecking files in changesets and manifests | 1201 crosschecking files in changesets and manifests |
1202 checking files | 1202 checking files |
1203 10 files, 10 changesets, 28 total revisions | 1203 10 files, 10 changesets, 28 total revisions |
1204 searching 1 changesets for largefiles | 1204 searching 1 changesets for largefiles |
1205 changeset 9:598410d3eb9a: sub/large4 missing | 1205 changeset 9:598410d3eb9a: sub/large4 references missing $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
1206 (looked for hash e166e74c7303192238d60af5a9c4ce9bef0b7928) | |
1207 verified existence of 3 revisions of 3 largefiles | 1206 verified existence of 3 revisions of 3 largefiles |
1208 [1] | 1207 [1] |
1209 | 1208 |
1210 - introduce corruption and make sure that it is caught when checking content: | 1209 - introduce corruption and make sure that it is caught when checking content: |
1211 $ echo '5 cents' > $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 | 1210 $ echo '5 cents' > $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
1212 $ hg verify -q --large --lfc | 1211 $ hg verify -q --large --lfc |
1213 searching 1 changesets for largefiles | 1212 searching 1 changesets for largefiles |
1214 changeset 9:598410d3eb9a: sub/large4: contents differ | 1213 changeset 9:598410d3eb9a: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
1215 ($TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928: (glob) | |
1216 expected hash e166e74c7303192238d60af5a9c4ce9bef0b7928, | |
1217 but got 1f19b76d5b3cad1472c87efb42b582c97e040060) | |
1218 verified contents of 3 revisions of 3 largefiles | 1214 verified contents of 3 revisions of 3 largefiles |
1219 [1] | 1215 [1] |
1220 | 1216 |
1221 - cleanup | 1217 - cleanup |
1222 $ mv e166e74c7303192238d60af5a9c4ce9bef0b7928 $TESTTMP/d/.hg/largefiles/ | 1218 $ mv e166e74c7303192238d60af5a9c4ce9bef0b7928 $TESTTMP/d/.hg/largefiles/ |
1223 | 1219 |
1224 - verifying all revisions will fail because we didn't clone all largefiles to d: | 1220 - verifying all revisions will fail because we didn't clone all largefiles to d: |
1225 $ echo 'T-shirt' > $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | 1221 $ echo 'T-shirt' > $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
1226 $ hg verify -q --large --lfa --lfc | 1222 $ hg verify -q --large --lfa --lfc |
1227 searching 10 changesets for largefiles | 1223 searching 10 changesets for largefiles |
1228 changeset 0:30d30fe6a5be: large1 missing | 1224 changeset 0:30d30fe6a5be: large1 references missing $TESTTMP/d/.hg/largefiles/4669e532d5b2c093a78eca010077e708a071bb64 |
1229 (looked for hash 4669e532d5b2c093a78eca010077e708a071bb64) | 1225 changeset 0:30d30fe6a5be: sub/large2 references missing $TESTTMP/d/.hg/largefiles/1deebade43c8c498a3c8daddac0244dc55d1331d |
1230 changeset 0:30d30fe6a5be: sub/large2 missing | 1226 changeset 1:ce8896473775: large1 references missing $TESTTMP/d/.hg/largefiles/5f78770c0e77ba4287ad6ef3071c9bf9c379742f |
1231 (looked for hash 1deebade43c8c498a3c8daddac0244dc55d1331d) | 1227 changeset 1:ce8896473775: sub/large2 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
1232 changeset 1:ce8896473775: large1 missing | 1228 changeset 3:9e8fbc4bce62: large1 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
1233 (looked for hash 5f78770c0e77ba4287ad6ef3071c9bf9c379742f) | 1229 changeset 4:74c02385b94c: large3 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
1234 changeset 1:ce8896473775: sub/large2: contents differ | 1230 changeset 4:74c02385b94c: sub/large4 references corrupted $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
1235 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) | |
1236 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | |
1237 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | |
1238 changeset 3:9e8fbc4bce62: large1: contents differ | |
1239 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) | |
1240 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | |
1241 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | |
1242 changeset 4:74c02385b94c: large3: contents differ | |
1243 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) | |
1244 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | |
1245 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | |
1246 changeset 4:74c02385b94c: sub/large4: contents differ | |
1247 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) | |
1248 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | |
1249 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | |
1250 verified contents of 15 revisions of 6 largefiles | 1231 verified contents of 15 revisions of 6 largefiles |
1251 [1] | 1232 [1] |
1252 | 1233 |
1253 - cleanup | 1234 - cleanup |
1254 $ rm $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | 1235 $ rm $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |