~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-05-12 00:15:25 UTC
  • mfrom: (4098.5.19 send-hookage)
  • Revision ID: pqm@pqm.ubuntu.com-20090512001525-dnk0gpt8n0h8rbvb
(abentley) add new merge_request_body hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
known_hooks.register_lazy(
57
57
    ('bzrlib.version_info_formats.format_rio', 'RioVersionInfoBuilder.hooks'),
58
58
    'bzrlib.version_info_formats.format_rio', 'RioVersionInfoBuilderHooks')
 
59
known_hooks.register_lazy(
 
60
    ('bzrlib.merge_directive', '_BaseMergeDirective.hooks'),
 
61
    'bzrlib.merge_directive', 'MergeDirectiveHooks')
59
62
 
60
63
 
61
64
def known_hooks_key_to_object((module_name, member_name)):
178
181
    :ivar introduced: A version tuple specifying what version the hook was
179
182
        introduced in. None indicates an unknown version.
180
183
    :ivar deprecated: A version tuple specifying what version the hook was
181
 
        deprecated or superceded in. None indicates that the hook is not
182
 
        superceded or deprecated. If the hook is superceded then the doc
 
184
        deprecated or superseded in. None indicates that the hook is not
 
185
        superseded or deprecated. If the hook is superseded then the doc
183
186
        should describe the recommended replacement hook to register for.
184
187
    :ivar doc: The docs for using the hook.
185
188
    """