want bzrlib.initialize() to do all typical setup
Bug #507710 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool |
Bug Description
As a followon from https:/
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_
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.
Related branches
lp:~mbp/bzr/initialize
- John A Meinel: Approve
- Martin Pool: Pending requested
-
Diff: 113 lines (+35/-8)4 files modifiedbzrlib/__init__.py (+11/-3)
bzrlib/library_state.py (+10/-2)
doc/developers/integration.txt (+8/-3)
doc/en/release-notes/bzr-2.4.txt (+6/-0)
tags: | added: api |
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.2.0b1 |
status: | In Progress → Fix Released |
To post a comment you must log in.
https:/ /code.edge. launchpad. net/~mbp/ bzr/initialize/ +merge/ 18967