I wanted to test this new feature, but was unable to get the server do something when an incoming push arrives. I added the attached plugin (it simply writes a file when the post_change_branch_tip hook is called) to both my local machine and the server, but the hook gets called on the local machine only (the /tmp/foo file appears in the local filesystem, but not in the remote server):
esteve@local:/tmp/bar$ bzr push bzr+ssh://bzr@server:/tmp/bar
esteve@local:/tmp/bar$ cat /tmp/foo
Hello world
esteve@local:/tmp/bar$ ssh server
esteve@server:~$ cat /tmp/foo
cat: /tmp/foo: No such file or directory
I wanted to test this new feature, but was unable to get the server do something when an incoming push arrives. I added the attached plugin (it simply writes a file when the post_change_ branch_ tip hook is called) to both my local machine and the server, but the hook gets called on the local machine only (the /tmp/foo file appears in the local filesystem, but not in the remote server):
esteve@ local:/ tmp/bar$ bzr push bzr+ssh: //bzr@server: /tmp/bar local:/ tmp/bar$ cat /tmp/foo
esteve@
Hello world
esteve@ local:/ tmp/bar$ ssh server
esteve@server:~$ cat /tmp/foo
cat: /tmp/foo: No such file or directory
am I doing it right?
BTW, I'm using bzr 1.5rc1