Commit Hook Implementation
Matthieu Moy
Matthieu.Moy at imag.fr
Thu Oct 5 22:17:03 BST 2006
Robert Widhopf-Fenk <hack at robf.de> writes:
> On Thursday, October 5, 2006 at 11:42:10, Matthieu Moy wrote:
>> Robert Widhopf-Fenk <Robert.Widhopf at robf.de> writes:
>>
>> > I was so focused on hooks that I did not find it ...
>> > http://bazaar-vcs.org/BzrHooks has now a note that
>> > post-commit has already landed.
>>
>> What's a pitty is that the plugin can or does not add itself to the
>> hook by its own.
>
> I want to enable it only for specific branches and also the
> configs are different for each branch, so it does not make
> sense to automatically hook in.
The hook could be activated in any case, and do nothing for some
branches. Indeed, this is exactly the case of bzr-email. The fact that
you have to manually set "post_commit" by hand is actually a
limitation of the implementation. It's known, since README says
,----
| This is a plugin to implement post commmit emails for bzr.
| This should eventually automatically activate if an email
| address is set, and should allow format specifiers too.
`----
--
Matthieu
More information about the bazaar
mailing list