Mercurial > hg
comparison tests/test-largefiles.t @ 18506:ef60083b5536 stable
tests: fix for windows - slashes and no serve
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 30 Jan 2013 19:40:07 +0100 |
parents | b7da9c042b9e |
children | a49b7c9fc246 b6b9475c563a |
comparison
equal
deleted
inserted
replaced
18505:9de9727cea53 | 18506:ef60083b5536 |
---|---|
1180 | 1180 |
1181 - Where Do We Come From? What Are We? Where Are We Going? | 1181 - Where Do We Come From? What Are We? Where Are We Going? |
1182 $ pwd | 1182 $ pwd |
1183 $TESTTMP/e | 1183 $TESTTMP/e |
1184 $ hg paths | 1184 $ hg paths |
1185 default = $TESTTMP/d | 1185 default = $TESTTMP/d (glob) |
1186 | 1186 |
1187 $ hg verify --large | 1187 $ hg verify --large |
1188 checking changesets | 1188 checking changesets |
1189 checking manifests | 1189 checking manifests |
1190 crosschecking files in changesets and manifests | 1190 crosschecking files in changesets and manifests |
1210 - introduce corruption and make sure that it is caught when checking content: | 1210 - introduce corruption and make sure that it is caught when checking content: |
1211 $ echo '5 cents' > $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 | 1211 $ echo '5 cents' > $TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 |
1212 $ hg verify -q --large --lfc | 1212 $ hg verify -q --large --lfc |
1213 searching 1 changesets for largefiles | 1213 searching 1 changesets for largefiles |
1214 changeset 9:598410d3eb9a: sub/large4: contents differ | 1214 changeset 9:598410d3eb9a: sub/large4: contents differ |
1215 ($TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928: | 1215 ($TESTTMP/d/.hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928: (glob) |
1216 expected hash e166e74c7303192238d60af5a9c4ce9bef0b7928, | 1216 expected hash e166e74c7303192238d60af5a9c4ce9bef0b7928, |
1217 but got 1f19b76d5b3cad1472c87efb42b582c97e040060) | 1217 but got 1f19b76d5b3cad1472c87efb42b582c97e040060) |
1218 verified contents of 3 revisions of 3 largefiles | 1218 verified contents of 3 revisions of 3 largefiles |
1219 [1] | 1219 [1] |
1220 | 1220 |
1230 changeset 0:30d30fe6a5be: sub/large2 missing | 1230 changeset 0:30d30fe6a5be: sub/large2 missing |
1231 (looked for hash 1deebade43c8c498a3c8daddac0244dc55d1331d) | 1231 (looked for hash 1deebade43c8c498a3c8daddac0244dc55d1331d) |
1232 changeset 1:ce8896473775: large1 missing | 1232 changeset 1:ce8896473775: large1 missing |
1233 (looked for hash 5f78770c0e77ba4287ad6ef3071c9bf9c379742f) | 1233 (looked for hash 5f78770c0e77ba4287ad6ef3071c9bf9c379742f) |
1234 changeset 1:ce8896473775: sub/large2: contents differ | 1234 changeset 1:ce8896473775: sub/large2: contents differ |
1235 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: | 1235 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) |
1236 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | 1236 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, |
1237 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | 1237 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) |
1238 changeset 3:9e8fbc4bce62: large1: contents differ | 1238 changeset 3:9e8fbc4bce62: large1: contents differ |
1239 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: | 1239 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) |
1240 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | 1240 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, |
1241 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | 1241 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) |
1242 changeset 4:74c02385b94c: large3: contents differ | 1242 changeset 4:74c02385b94c: large3: contents differ |
1243 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: | 1243 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) |
1244 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | 1244 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, |
1245 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | 1245 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) |
1246 changeset 4:74c02385b94c: sub/large4: contents differ | 1246 changeset 4:74c02385b94c: sub/large4: contents differ |
1247 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: | 1247 ($TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4: (glob) |
1248 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, | 1248 expected hash eb7338044dc27f9bc59b8dd5a246b065ead7a9c4, |
1249 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) | 1249 but got cfef678f24d3e339944138ecdd8fd85ca21d820f) |
1250 verified contents of 15 revisions of 6 largefiles | 1250 verified contents of 15 revisions of 6 largefiles |
1251 [1] | 1251 [1] |
1252 | 1252 |
1341 abort: outstanding uncommitted merges | 1341 abort: outstanding uncommitted merges |
1342 [255] | 1342 [255] |
1343 | 1343 |
1344 - revert should be able to revert files introduced in a pending merge | 1344 - revert should be able to revert files introduced in a pending merge |
1345 $ hg revert --all -r . | 1345 $ hg revert --all -r . |
1346 removing .hglf/large | 1346 removing .hglf/large (glob) |
1347 undeleting .hglf/sub2/large6 | 1347 undeleting .hglf/sub2/large6 (glob) |
1348 | 1348 |
1349 Test that a normal file and a largefile with the same name and path cannot | 1349 Test that a normal file and a largefile with the same name and path cannot |
1350 coexist. | 1350 coexist. |
1351 | 1351 |
1352 $ rm sub2/large7 | 1352 $ rm sub2/large7 |