~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/writing_a_plugin.txt

  • Committer: Jelmer Vernooij
  • Date: 2010-04-30 11:35:43 UTC
  • mfrom: (5195 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5197.
  • Revision ID: jelmer@samba.org-20100430113543-tiqqhmqa3d8no4iu
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
``bzrlib.commands.register_command(cmd_foo)``.  You must register the
23
23
command when your file is imported, otherwise bzr will not see it.
24
24
 
 
25
Installing a hook
 
26
-----------------
 
27
 
 
28
See `Using hooks`_.
 
29
 
 
30
 .. _Using hooks: hooks.txt
 
31
 
 
32
 
25
33
Specifying a plugin version number
26
34
----------------------------------
27
35
Simply define ``version_info`` to be a tuple defining the current version