/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 doc/en/user-guide/hooks.txt

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        print "The new revno is %d" % push_result.new_revno
23
23
 
24
24
 
25
 
    branch.Branch.hooks.install_hook('post_push', post_push_hook,
 
25
    branch.Branch.hooks.install_named_hook('post_push', post_push_hook,
26
26
                                     'My post_push hook')
27
27
 
28
28
To use this example, create a file named ``push_hook.py``, and stick it in