Client-side vs. server-side hooks
Michael Ernst
mernst at alum.mit.edu
Thu Oct 16 12:47:53 BST 2008
The Bazaar documentation is not always clear whether each hook runs on the
client, the server, or both. Below is my best guess, though I would
appreciate confirmation/clarification.
On a related topic, under what circumstances is a server-side hook run?
Only when using the smart server? Also when using the ssh server? Under
any other circumstances?
Thanks,
-Michael Ernst
open (Branch)
Runs on the client and on the server.
post_push (Branch)
Runs on the client.
post_pull (Branch)
Runs on the client.
start_commit (MutableTree)
Runs on the client.
pre_commit (Branch)
Runs on the client.
post_commit (Branch)
Runs on the client.
post_uncommit (Branch)
Runs on the client.
pre_change_branch_tip (Branch)
Runs on the client and on the server.
post_change_branch_tip (Branch)
Runs on the client and on the server.
server_started (SmartTCPServer)
Runs on the server.
server_stopped (SmartTCPServer)
Runs on the server.
lock_acquired (LockDir)
Runs on the client.
lock_released (LockDir)
Runs on the client.
More information about the bazaar
mailing list