post-lock — Notification of a successful path lock.


The post-lock hook runs after one or more paths has been locked. It is typically used to send email notification of the lock event.

The output from and exit value returned by the post-look hook program are ignored.

Input Parameter(s)

The command-line arguments passed to the hook program, in order, are:

  1. repository path

  2. authenticated username of the person who locked the paths

Additionally, the list of paths locked is passed to the hook program via standard input, one path per line.

Common Uses

lock notification