post commit hook question

Andrew Bennetts andrew at bemusement.org
Mon Nov 28 22:37:12 UTC 2011


On Mon, Nov 28, 2011 at 01:58:30PM -0800, Stephen Au-Yeung wrote:
> Hi,
> 
> I've installed a post commit hook that works when I do "bzr commit ...".
> However, when I use the bzrlib's WorkingTree to commit, the hook was not
> executed. What else do I need to do in order for this to work?

Are you loading plugins in your code that calls bzrlib?

    from bzrlib.plugin import load_plugins
    load_plugins()

-Andrew.




More information about the bazaar mailing list