~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Ian Clatworthy
  • Date: 2009-09-07 06:12:15 UTC
  • mto: (4634.37.2 prepare-2.0)
  • mto: This revision was merged to the branch mainline in revision 4689.
  • Revision ID: ian.clatworthy@canonical.com-20090907061215-w4cutqkgmtxnyhmh
cleanups for Spanish docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007-2010 Canonical Ltd
 
1
# Copyright (C) 2007, 2008 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
45
45
    'bzrlib.info', 'InfoHooks')
46
46
known_hooks.register_lazy(('bzrlib.lock', 'Lock.hooks'), 'bzrlib.lock',
47
47
    'LockHooks')
48
 
known_hooks.register_lazy(('bzrlib.merge', 'Merger.hooks'), 'bzrlib.merge',
49
 
    'MergeHooks')
50
48
known_hooks.register_lazy(('bzrlib.msgeditor', 'hooks'), 'bzrlib.msgeditor',
51
49
    'MessageEditorHooks')
52
50
known_hooks.register_lazy(('bzrlib.mutabletree', 'MutableTree.hooks'),
279
277
 
280
278
See `Using hooks`_ in the User Guide for examples.
281
279
 
282
 
.. _Using hooks: ../user-guide/hooks.html
 
280
.. _Using hooks: ../user-guide/index.html#using-hooks
283
281
 
284
282
The class that contains each hook is given before the hooks it supplies. For
285
283
instance, BranchHooks as the class is the hooks class for