bzr-email no longer needs manual hooking

John Arbash Meinel john at arbash-meinel.com
Wed Feb 7 15:38:33 GMT 2007


Robert Collins wrote:
> If you have bzr-email HEAD, and my branch-hooks bundle applied, you can
> remove the
> post_commit = bzrlib.plugins.email.post_commit
> line from your config, as it uses the new hooks facility.
> 
> Also - John, can we do lazy loading rather than the manual import foo in
> the __init__ ?  It seems a bit ugly at the moment.
> 
> -Rob
> 

I'm happy to see the improvements for post_commit, I'd even like to see
us deprecate the 'post_commit' config entry once your other stuff lands.


Actually, we probably could do it a little bit differently, such that at
import time it checks if the path is bzrlib.plugins.email

Part of it was to just get nice looking errors. But sure, I'll clean it
up a bit.

John
=:->




More information about the bazaar mailing list