[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to prevent break locks

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Wed, 29 May 2013 15:33:26 +0100

On 29 May 2013 15:17, Valter Calado <valter.calado_at_gmail.com> wrote:
> Hi,
> I'm kinda new into SVN but I read it is possible to prevent the break lock
> feature to all users except user which triggered the lock and admins.
> I wanted to implement this but don't know quite how. I already placed some
> scripts I found over the net on the hooks folder but didn't work.
> I'm using TortoiseSVN at a windows PC.
> So resuming what should be included in the script file and where to place
> such file inside repo browser.

Please send all queries to the project users mailing list, not
directly to the owners. Copying to the users list now.

This chapter in the subversion book describes server side hooks, which
is what you need.


The hooks reside within the repository directory (in the 'hooks'
sub-directory) and can only be accessed on the server itself using its
native filesystem. You cannot access them via the repository browser.

Have a look at the pre-lock and pre-unlock templates in that directory
for information on how to implement these hooks.


:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-05-30 01:58:48 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.