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-lock — Notification of a path lock attempt.DescriptionThe pre-lock hook runs whenever someone attempts to lock a path. It can be used toprevent locks altogether or to create a more complex policy specifying exactly which usersare allowed to lock particular paths. If the hook notices a preexisting lock, it can also decidewhether a user is allowed to “steal” the existing lock.If the pre-lock hook program returns a nonzero exit value, the lock action is aborted andanything 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 path2. <strong>Version</strong>ed path that is to be locked3. Authenticated username of the person attempting the lockCommon usesAccess control356

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

Saved successfully!

Ooh no, something went wrong!