I need the ability to run an arbitrary command when I try and commit to a bazaar branch.
This command should return 0 on success, or any other code on failure, and if the command fails, bzr should refuse to commit.
I want to do this for running test suites mainly, however, there are also other things (for example, checking whether there is a freeze on the branch that is trying to be committed, etc etc) that I'd like to be able to do