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

Re: Disabling the svn lock, unlock commands

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-09 18:50:24 CEST

On 8/9/06, asdf <fia_wrc_fanatic@yahoo.com> wrote:
> What's the best way to completely disable the svn lock (and unlock)
> commands so that no one can exclusively lock a file out for
> modifications?
>
> There doesn't appear to be a ./configure time option such as
> "--disable-locking" to do this at the source level or at build time, so
> I was thinking of adding pre-lock and pre-unlock hook scripts that just
> return 0.
>
> Would this work? Or would I need to do something else besides the
> pre-lock and pre-unlock hook scripts to accomplish this?

Yeah, that's what you should do, a pre-lock script that always returns
error will keep anyone from locking files.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 9 18:52:34 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.