Menu

#100 ch09: Missing documentation about arguments passed to 'pre-lock' hook

en-1.6
Fixed
nobody
None
Medium
Defect
2011-07-08
2010-10-14
Anonymous
No

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.

Related

Tickets: #127

Discussion

  • Anonymous

    Anonymous - 2010-10-15

    Originally posted by: cmpilato

    (No comment was entered for this change.)

    Labels: Milestone-en-1.6

     
  • Anonymous

    Anonymous - 2011-06-28

    Originally posted by: cmpilato

    (No comment was entered for this change.)

    Owner: cmpilato

     
  • Anonymous

    Anonymous - 2011-07-06

    Originally posted by: cmpilato

    (No comment was entered for this change.)

    Summary: ch09: Missing documentation about arguments passed to 'pre-lock' hook

     
  • Anonymous

    Anonymous - 2011-07-08

    Originally posted by: cmpilato

    FIXED:
       Sending        book/ch09-reference.xml
       Transmitting file data .
       Committed [r3904].

    Status: Fixed

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.