want bzrlib.initialize() to do all typical setup

Bug #507710 reported by Martin Pool
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Martin Pool

Bug Description

As a followon from https://code.launchpad.net/~mbp/bzr/499637-default-uifactory/+merge/17358 and bug 499637:

For a non-bzr bzrlib user, there are a few things that need to be done after importing bzr to get typical default behaviour: load_plugins, trace.enable_default_logging, install_bzr_command_hooks, make_ui_factory()

This is a bit problematic to do at import time because of Python circular import limits, and because not all of them will always be wanted.

It should probably take options to let some of these be skipped.

Tags: api

Related branches

Martin Pool (mbp)
tags: added: api
Martin Pool (mbp)
Changed in bzr:
status: Confirmed → In Progress
Revision history for this message
Martin Pool (mbp) wrote :
Martin Pool (mbp)
Changed in bzr:
milestone: none → 2.2.0b1
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.