Hi, <br><br>I have the following code<br><br>def run_manager(params):<br> print 'hook called'<br> manager = _manager.Manager(params)<br> manager.run()<br><br>Branch.hooks.install_named_hook('post_commit', run_manager, 'Saves commit in django')<br>
print Branch.hooks<br><br>I call <br>$ bzr commit bzr+http://... <br><br>Branch.hooks is printed, and it shows the post_commit hook to be registered, but the run_manager method is not called<br><br>I am sure to miss something very obvious, could someone point out what I didn't get?<br>
<br>thanks,<br>Viktor<br>