~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 6133.4.45.

  • Committer: John Arbash Meinel
  • Date: 2011-09-22 14:45:18 UTC
  • mto: This revision was merged to the branch mainline in revision 6170.
  • Revision ID: john@arbash-meinel.com-20110922144518-0d11ytg0v7clv5xk
Change the code a bit.

Now, by default, there is no global state. It is created as part of
bzrlib.smart.signals.install_sighup_handler().
That way, 99% of bzr commands won't care, only 'bzr serve' is affected.
Further, the *test suite* won't have a by-product of tons of
register/unregister calls that temporarily cache dicts and create
garbage at runtime.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: