~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Robert Collins
  • Date: 2009-03-18 03:47:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4162.
  • Revision ID: robertc@robertcollins.net-20090318034730-xex5ks3t5ct7gin6
Add a BzrDir.pre_open hook for use by the smart server gaol.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
known_hooks = registry.Registry()
34
34
known_hooks.register_lazy(('bzrlib.branch', 'Branch.hooks'), 'bzrlib.branch',
35
35
    'BranchHooks')
 
36
known_hooks.register_lazy(('bzrlib.bzrdir', 'BzrDir.hooks'), 'bzrlib.bzrdir',
 
37
    'BzrDirHooks')
36
38
known_hooks.register_lazy(('bzrlib.commands', 'Command.hooks'),
37
39
    'bzrlib.commands', 'CommandHooks')
38
40
known_hooks.register_lazy(('bzrlib.lock', 'Lock.hooks'), 'bzrlib.lock',