/brz/remove-bazaar

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

Add bzrlib.pyutils, which has get_named_object, a wrapper around __import__.

This is used to replace various ad hoc implementations of the same logic,
notably the version used in registry's _LazyObjectGetter which had a bug when
getting a module without also getting a member.  And of course, this new
function has unit tests, unlike the replaced code.

This also adds a KnownHooksRegistry subclass to provide a more natural home for
some other logic.

I'm not thrilled about the name of the new module or the new functions, but it's
hard to think of good names for such generic functionality.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 5244.1.3 15 years ago Robert Collins Allow setting new proposals as approved immediatel 14.5 KB Diff Download File
account.py 5273.1.7 15 years ago Vincent Ladeuil No more use of the get_transport imported *symbol* 3.3 KB Diff Download File
lp_api.py 5074.1.1 15 years ago Vincent Ladeuil Merge 2.1 into bzr.dev including fixes for #524560 9.8 KB Diff Download File
lp_directory.py 5361.1.1 15 years ago John Arbash Meinel Handle a simple ~ in lp: urls. We've already aske 4.1 KB Diff Download File
lp_propose.py 4597.9.12 14 years ago Vincent Ladeuil Merge bzr.dev into cleanup resolving conflicts 8.7 KB Diff Download File
lp_registration.py 5243.1.1 15 years ago Martin Use the production server in the launchpad plugin 12.9 KB Diff Download File
test_account.py 5394.1.1 14 years ago Vincent Ladeuil Config files in bazaar home now use a lock 5.2 KB Diff Download File
test_lp_api.py 5074.1.1 15 years ago Vincent Ladeuil Merge 2.1 into bzr.dev including fixes for #524560 3.7 KB Diff Download File
test_lp_directory.py 5361.1.1 15 years ago John Arbash Meinel Handle a simple ~ in lp: urls. We've already aske 13.5 KB Diff Download File
test_lp_login.py 4505.1.4 16 years ago Jonathan Lange Use 'foo', not 'jml' 2.5 KB Diff Download File
test_lp_open.py 5243.1.1 15 years ago Martin Use the production server in the launchpad plugin 4.1 KB Diff Download File
test_lp_service.py 5243.1.1 15 years ago Martin Use the production server in the launchpad plugin 7.6 KB Diff Download File
test_register.py 5243.1.1 15 years ago Martin Use the production server in the launchpad plugin 13.8 KB Diff Download File