/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
..
bash_completion 5147.5.1 15 years ago Martin von Gagern Join bzr-bash-completion plugin into core bzr tree Diff
launchpad 1668.1.8 19 years ago Martin Pool Merge register-branch plugin into default plugins Diff
netrc_credential_store 3757.3.2 16 years ago Vincent Ladeuil Add a credential store for '.netrc'. * plugins/ne Diff
news_merge 4869.3.27 15 years ago Andrew Bennetts Move news_merge plugin from contrib to bzrlib/plug Diff
__init__.py 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 771 bytes Diff Download File