Hi Gerel.

   branch.Branch.hooks.install_named_hook('pre_commit', post_commit_hook,
                                    'Patch safety scripts hook')


   But that doesn't mean the commit isn't done (and I doubt you can avoid the
   commit with a hook), so I guess it's the same at the end.

It is quite easy to undo commits using bazaar, so I think that it is
ok. Anyway, there should be a way to abort the commit in a pre_commit
hook.. simply makes sense :)



Reply via email to