Default hook state and the test suite

Robert Collins robertc at robertcollins.net
Tue Oct 19 01:08:22 BST 2010


On Tue, Oct 19, 2010 at 1:03 PM, Andrew Bennetts
<andrew.bennetts at canonical.com> wrote:
> Part of me wonders if always-installed hooks are a bit of a code smell,
> though...

I think they are; as a first choice I wouldn't have something thats
always on use a hook. If it needs to be replacable in different
contexts, thats a good reason to use a hook. (But thats not 'always
on'.).

-Rob



More information about the bazaar mailing list