11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Subversion</strong> Complete ReferenceNamestart-commit — Notification of the beginning of a commit.DescriptionThe start-commit hook is run before the commit transaction is even created. It is typicallyused to decide whether the user has commit privileges at all.If the start-commit hook program returns a nonzero exit value, the commit is stopped beforethe commit transaction is even created, and anything printed to stderr is marshalledback to the client.Input Parameter(s)The command-line arguments passed to the hook program, in order, are:1. Repository path2. Authenticated username attempting the commit3. Colon-separated list of capabilities that a client passes to the server, including depth,mergeinfo, and log-revprops (new in <strong>Subversion</strong> 1.5).Common usesAccess control (e.g., temporarily lock out commits for some reason).A means to allow access only from clients that have certain capabilities.351

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!