~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Vincent Ladeuil
  • Date: 2011-06-27 15:42:09 UTC
  • mfrom: (5993 +trunk)
  • mto: (5993.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5994.
  • Revision ID: v.ladeuil+lp@free.fr-20110627154209-azubuhbuxsz109hq
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    ('bzrlib.branch', 'Branch.hooks', 'BranchHooks'),
73
73
    ('bzrlib.bzrdir', 'BzrDir.hooks', 'BzrDirHooks'),
74
74
    ('bzrlib.commands', 'Command.hooks', 'CommandHooks'),
 
75
    ('bzrlib.config', 'ConfigHooks', '_ConfigHooks'),
75
76
    ('bzrlib.info', 'hooks', 'InfoHooks'),
76
77
    ('bzrlib.lock', 'Lock.hooks', 'LockHooks'),
77
78
    ('bzrlib.merge', 'Merger.hooks', 'MergeHooks'),
256
257
        try:
257
258
            uninstall = getattr(hook, "uninstall")
258
259
        except AttributeError:
259
 
            raise errors.UnsupportedOperation(self.install_named_hook_lazy,
260
 
                self)
 
260
            raise errors.UnsupportedOperation(self.uninstall_named_hook, self)
261
261
        else:
262
262
            uninstall(label)
263
263