/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 bzrlib/hooks.py

  • Committer: Andrew Bennetts
  • Date: 2009-06-17 02:02:44 UTC
  • mfrom: (4449 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4452.
  • Revision ID: andrew.bennetts@canonical.com-20090617020244-50aantdf95aakvjx
Merge bzr.dev, resolving NEWS conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    'BzrDirHooks')
42
42
known_hooks.register_lazy(('bzrlib.commands', 'Command.hooks'),
43
43
    'bzrlib.commands', 'CommandHooks')
 
44
known_hooks.register_lazy(('bzrlib.info', 'hooks'),
 
45
    'bzrlib.info', 'InfoHooks')
44
46
known_hooks.register_lazy(('bzrlib.lock', 'Lock.hooks'), 'bzrlib.lock',
45
47
    'LockHooks')
46
48
known_hooks.register_lazy(('bzrlib.msgeditor', 'hooks'), 'bzrlib.msgeditor',
54
56
known_hooks.register_lazy(
55
57
    ('bzrlib.version_info_formats.format_rio', 'RioVersionInfoBuilder.hooks'),
56
58
    'bzrlib.version_info_formats.format_rio', 'RioVersionInfoBuilderHooks')
 
59
known_hooks.register_lazy(
 
60
    ('bzrlib.merge_directive', '_BaseMergeDirective.hooks'),
 
61
    'bzrlib.merge_directive', 'MergeDirectiveHooks')
57
62
 
58
63
 
59
64
def known_hooks_key_to_object((module_name, member_name)):
176
181
    :ivar introduced: A version tuple specifying what version the hook was
177
182
        introduced in. None indicates an unknown version.
178
183
    :ivar deprecated: A version tuple specifying what version the hook was
179
 
        deprecated or superceded in. None indicates that the hook is not
180
 
        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
181
186
        should describe the recommended replacement hook to register for.
182
187
    :ivar doc: The docs for using the hook.
183
188
    """