~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 6133.4.60.

  • Committer: John Arbash Meinel
  • Date: 2011-09-23 18:11:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6170.
  • Revision ID: john@arbash-meinel.com-20110923181128-d0qrj4u1celg9gkn
serve_bzr wasn't properly cleaning up the new _on_sighup dict, etc.
So add a bzrlib.smart.signals.restore_sighup_handler() and add it as a
cleanup that needs to be run in BzrServerFactory.tear_down().

Change install_sighup_handler so that it still does something on Windows, since
we can use it to test that BzrServerFactory interacts with it appropriately.
Next we need to test that 'bzr serve --inet' will respond to SIGHUP correctly.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: