/brz/remove-bazaar

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

Viewing all changes in revision 5086.5.3.

First shot at loading plugins from a specific directory.

* bzrlib/tests/test_plugins.py:
(TestLoadPluginAt): Start testing the specific loading.

* bzrlib/plugin.py:
(set_plugins_path): Extract plugin@path from BZR_PLUGIN_PATH.
(_find_plugin_module): Renamed from _check_plugin_module and fix
minor issues.
(_PluginImporter): Renamed from _PluginBlackListImporter and add
support for specific paths for plugins.
(_PluginImporter.find_module): Make sure we don't apply to modules
outside of bzrlib.plugins but apply for specific plugin paths.
(_PluginImporter.load_module): Force import from a path that
doesn't match the plugin name.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: