/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to bzrlib/plugin.py

  • Committer: Aaron Bentley
  • Date: 2005-10-24 15:56:15 UTC
  • mfrom: (1185.16.99)
  • mto: (1185.25.1)
  • mto: This revision was merged to the branch mainline in revision 1488.
  • Revision ID: abentley@panoramicfeedback.com-20051024155615-6af1ed78ba9e4f9f
Merge from mpool

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""bzr python plugin support
19
19
 
20
20
Any python module in $BZR_PLUGIN_PATH will be imported upon initialization of
21
 
bzrlib (and then forgotten about).  In the plugin's main body, it should
22
 
update any bzrlib registries it wants to extend; for example, to add new
23
 
commands, import bzrlib.commands and add your new command to the plugin_cmds
24
 
variable.
 
21
bzrlib. The module will be imported as 'bzrlib.plugins.$BASENAME(PLUGIN)'.
 
22
In the plugin's main body, it should update any bzrlib registries it wants to
 
23
extend; for example, to add new commands, import bzrlib.commands and add your
 
24
new command to the plugin_cmds variable.
25
25
"""
26
26
 
27
27
# TODO: Refactor this to make it more testable.  The main problem at the