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 ReferenceNamepre-commit — Notification just prior to commit completion.DescriptionThe pre-commit hook is run just before a commit transaction is promoted to a new revision.Typically, this hook is used to protect against commits that are disallowed due to contentor location (e.g., your site might require that all commits to a certain branch include aticket number from the bug tracker, or that the incoming log message is nonempty).If the pre-commit hook program returns a nonzero exit value, the commit is aborted, thecommit transaction is removed, and anything printed to stderr is marshalled back to theclient.Input parameter(s)The command-line arguments passed to the hook program, in order, are:1. Repository path2. Commit transaction nameCommon usesChange validation and control352

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

Saved successfully!

Ooh no, something went wrong!