/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 6240.5.4.

  • Committer: Brian de Alwis
  • Date: 2011-12-22 21:10:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6441.
  • Revision ID: bsd@acm.org-20111222211031-v4oe963fa0g9evah
Modified proposal as described on Dec 12:
  * Add a boolean "suppress_exceptions" to HookPoint, that defaults to False.
    If True, then exceptions raised when firing the hookpoints are
    suppressed and a warning message reported on bzr.log.

  * Add a list "passed_exceptions" to HookPoint that contains a list
    of exceptions that should be passed-through when suppress_exceptions=True

  * rename Hooks.run() to Hooks.fire() that now returns a boolean. 
    Returning True means all hooks passed with no exceptions raised. 
    If False, then one or more hooks raised an exception.

  * Change 'pre_command' definition to pass BzrCommandError

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: