[ANNOUNCE] bzr shell hooks plugin
Ian Clatworthy
ian.clatworthy at internode.on.net
Thu Jan 31 08:25:49 GMT 2008
Jelmer Vernooij wrote:
>> [hooks]
>> pre_commit = foo.sh
>> pre_commit.also = bar.sh
> IMHO this last bit isn't all that urgent. I'm actually quite surprised
> we've been able to get away with not supporting shell hooks for so long.
> I guess people always use hooks for really standard things like sending
> commit emails or notifying cia.
>> This has been on my TODO list for a few weeks now. Any objections if I
>> migrate this functionality into the core and add these changes? (I'm
>> happy to make the core implementation forwardly compatible with your
>> code as best I can.)
> Not at all :-)
My patch is now ready to go minus doc and more tests. I have a better
solution working for the multiple shell commands per hook feature -
nested sections.
Any objections to renaming the section to [HOOKS]? Using uppercase makes
it consistent with [ALIASES].
Ian C.
More information about the bazaar
mailing list