Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The pre-revprop-change hook is run immediately prior to the modification of a revision property when performed outside the scope of a normal commit. Unlike the other hooks, the default state of this one is to deny the proposed action. The hook must actually exist and return a zero exit value before a revision property modification can happen.
If the pre-revprop-change hook doesn’t exist, isn’t executable, or returns a nonzero exit value, no change to the property will be made, and anything printed to stderr is marshaled back to the client.