Issue 100 in svnbook: Missing documentation about arguments passed to 'pre-lock' hook

svnbook at googlecode.com svnbook at googlecode.com
Thu Oct 14 09:44:52 CDT 2010


Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 100 by cirdropbox: Missing documentation about arguments passed  
to 'pre-lock' hook
http://code.google.com/p/svnbook/issues/detail?id=100

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.






More information about the svnbook-dev mailing list