~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/en/hooks.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-23 23:45:04 UTC
  • mfrom: (3724.1.1 lock-hooks)
  • Revision ID: pqm@pqm.ubuntu.com-20080923234504-js54vdh7ejw0f45i
(mbp) add lock hooks

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
 
193
193
Invoked whenever the server stops serving a directory.
194
194
The hook signature is the same as ``server_started``.
 
195
 
 
196
 
 
197
lock_acquired (LockDir)
 
198
----------------------------
 
199
 
 
200
Called with a LockResult object when a lock has been successfully acquired.
 
201
(New in 1.8.)
 
202
 
 
203
lock_released (LockDir)
 
204
----------------------------
 
205
 
 
206
Called with a LockResult object when a lock has been successfully released.
 
207
(New in 1.8.)