/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Add an event to ThreadWithException that can be shared with the calling thread.

* bzrlib/tests/test_server.py:
(ThreadWithException.__init__): Add an 'event' parameter that can
be shared with the caller.
(ThreadWithException.run): Sset the event once the exception has
been recorded so we can release the caller and provide the
exception.
(ThreadWithException.join): Properly raise the recorded exception.

* bzrlib/tests/test_http.py:
(TestHTTPServer.test_force_invalid_protocol): Just rely on
assertRaises or we don't get the traceback on error.
(TestHTTPServer.test_server_start_and_stop): Cleanup.

* bzrlib/tests/http_server.py:
(HttpServer._http_start): Simplified.
(HttpServer.start_server): Leave the ThreadWithException do its
work.
(HttpServer.stop_server): Shutdown the server only if it was
started.
Filename Latest Rev Last Changed Committer Comment Size
..
File build-packages.sh 4380.1.1 16 years ago John Ferlito Update packaging scripts to make deployment a bit 390 bytes Diff Download File
File lp-upload-release 3778.3.4 17 years ago Martin Pool lp-upload-release now handles names like bzr-1.8.t 1.6 KB Diff Download File
File update-changelogs.sh 4380.1.6 16 years ago John Ferlito Fix missing bang from first line of script 826 bytes Diff Download File
File update-control.sh 4380.1.9 16 years ago John Ferlito make script executable 866 bytes Diff Download File
File update-packaging-branches.sh 4380.1.5 16 years ago John Ferlito Fix another reference to bzr-svn/experimental 868 bytes Diff Download File