~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4628.2.2.

  • Committer: Vincent Ladeuil
  • Date: 2009-08-20 09:47:22 UTC
  • mto: (4672.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4673.
  • Revision ID: v.ladeuil+lp@free.fr-20090820094722-ng0j9r3re8tk52y7
Add [+-]{user|core|site} handling in BZR_PLUGIN_PATH.

* bzrlib/plugin.py:
(get_standard_plugins_path): Change the way the BZR_PLUGIN_PATH is
handled to give more control.

* bzrlib/tests/test_plugins.py:
(TestSetPluginsPath): Deleted, covered by other tests.
(TestLoadFromPath.test_get_standard_plugins_path,
TestLoadFromPath.test_get_standard_plugins_path_env): Fix the
failing parts covered elsewhere.
(TestEnvPluginPath): Add tests for the new behaviors. 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: