名称

post-revprop-change — 修订版本属性修改成功的通知

描述

The post-revprop-change hook is run immediately after to the modification of a revision property when performed outside the scope of a normal commit. As can be derived from the description of its counterpart, the pre-revprop-change hook, this hook will not run at all unless the pre-revprop-change hook is implemented. It is typically used to send email notification of the property change.

If the post-revprop-change hook returns a nonzero exit status, the change will not be aborted since it has already completed. However, anything that the hook printed to STDERR will be marshalled back to the client, making it easier to diagnose hook failures.

输入参数

传递给你钩子程序的命令行参数,按照顺序是:

  1. Repository path

  2. Revision whose property was modified

  3. Authenticated username of the person making the change

  4. Name of the property changed

  5. Change description: A (added), D (deleted), or M (modified)

此外,Subversion通过标准输入将属性的前一个值传递给钩子。

普通用户

属性修改通知