~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-30 17:14:47 UTC
  • mfrom: (2769.1.1 bzr.docs)
  • Revision ID: pqm@pqm.ubuntu.com-20070830171447-t9j1u709q4yw63lh
Tweak hook documentation (Kent Gibson)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
installed any plugins, you may need to create the ``plugins`` directory).
28
28
 
29
29
First, we define a function that will be run after ``push`` completes.  We
30
 
could also use an intance method or a callable object.  All push hooks take a
 
30
could also use an instance method or a callable object.  All push hooks take a
31
31
single argument, the ``push_result``.
32
32
 
33
33
Next, we install the hook.  ``'post_push'`` identifies where we want to install