comparison tests/test-bad-pull.out @ 503:c6a2e41c8c60

Fix troubles with clone and exception handling -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix troubles with clone and exception handling Clone deletes its directory on failure This was deleting the lockfile out from under the lock object before it got destroyed This patch shuts lock up and makes the cleanup code for clone a little cleaner. manifest hash: f666fddcf6f3a905020a091f5e9fd2cb5d806cdd -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCwSGOywK+sNU5EO8RAkx2AKCIxPczl9YWnuUM+bMQnpVr8kv6uQCeNWld SUxSB99PGJHhq1LWFaSJJNw= =Frk/ -----END PGP SIGNATURE-----
author mpm@selenic.com
date Tue, 28 Jun 2005 02:08:14 -0800
parents fbe8834923c5
children 230676d0df6f
comparison
equal deleted inserted replaced
502:509e62469cb1 503:c6a2e41c8c60
1 + hg clone http://localhost:20059/ copy
1 requesting all changes 2 requesting all changes
2 adding changesets 3 adding changesets
3 abort: error 111: Connection refused 4 abort: error 111: Connection refused
4 transaction abort! 5 transaction abort!
6 failed to truncate 00changelog.d
7 failed to truncate 00changelog.i
5 rollback completed 8 rollback completed
6 checking changesets 9 + echo 255
7 checking manifests 10 255
8 crosschecking files in changesets and manifests 11 + ls copy
9 checking files 12 ls: copy: No such file or directory
10 0 files, 0 changesets, 0 total revisions 13 + cat
11 cat: foo: No such file or directory 14 + python dumb.py
15 + hg clone http://localhost:20059/foo copy2
12 requesting all changes 16 requesting all changes
13 adding changesets 17 adding changesets
14 abort: HTTP Error 404: File not found 18 abort: HTTP Error 404: File not found
15 transaction abort! 19 transaction abort!
20 failed to truncate 00changelog.d
21 failed to truncate 00changelog.i
16 rollback completed 22 rollback completed
17 checking changesets 23 + echo 255
18 checking manifests 24 255
19 crosschecking files in changesets and manifests 25 + set +x
20 checking files
21 0 files, 0 changesets, 0 total revisions
22 cat: foo: No such file or directory