post_change_branch_tip hook over bzr+http

Viktor Nagy viktor.nagy at gmail.com
Mon Oct 13 21:52:26 BST 2008


hi,

I am running bzr 1.7.1 and after loading my plugins with load_from_path I
have my module loaded, but the hook is actually never fired. This only
happens if I would like to run the plugin over http (with bzr+http).
Installing the plugin and committing locally works fine.

This is the relevant part of my __init__.py where _manager is lazy_imported.
Basically, the run_manager method is never called. Could someone tell me
what is the problem with it?

def run_manager(params):
    manager = _manager.Manager(params)
    manager.run()

Branch.hooks.install_named_hook('post_change_branch_tip', run_manager, 'Save
events in django')

thanks, V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081013/37ad1085/attachment.htm 


More information about the bazaar mailing list