• Name

    start-commit – Notification of the beginning of a commit.


    The start-commit hook is run before the commit transaction is even created. It is typically used to decide if the user has commit privileges at all.

    If the start-commit hook program returns a non-zero exit value, the commit is stopped before the commit transaction is even created, and anything printed to stderr is marshalled back to the client.

    Input Parameter(s)

    The command-line arguments passed to the hook program, in order, are:

    1. repository path

    2. authenticated username attempting the commit

    Common Uses

    access control

    The Version Control with Subversion book is licensed under the Creative Commons Attribution License v2.0.
    To submit comments, corrections, or other contributions to the text, please visit http://www.svnbook.com.