Originally created by: cirdropbox
Originally owned by: cmpilato
Current documentation about the 'pre-lock' hook specify these three input parameters:
"The command-line arguments passed to the hook program, in order, are:
* Repository path
* Versioned path that is to be locked
* Authenticated username of the person attempting the lock"
Though in actuallity there are 5, the fourth parameter denotes the lock comment and the fifth denotes whether or not the lock has been stolen.
This could be useful and since it appears in the 'pre-lock.tmpl' generated by
'svnadmin create' it should appear in the docs, I myself had to scout the SVN source code to find this out.
I guess other hooks might suffer the same neglect but this is what I have discovered.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: cmpilato
(No comment was entered for this change.)
Labels: Milestone-en-1.6
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: cmpilato
(No comment was entered for this change.)
Owner: cmpilato
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: cmpilato
(No comment was entered for this change.)
Summary: ch09: Missing documentation about arguments passed to 'pre-lock' hook
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: cmpilato
FIXED:
Sending book/ch09-reference.xml
Transmitting file data .
Committed [r3904].
Status: Fixed