[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: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-08-09 21:46:15 CEST

Ryan Schmidt wrote:
> On Aug 9, 2006, at 18:44, asdf 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?
>
>> I was thinking of adding pre-lock and pre-unlock hook scripts that
>> just
>> return 0.
>
> 0 means "success" so you'd want to return anything other than 0, for
> example 1. Probably also want to output a message to stderr (not
> stdout) explaining why you've disabled it, so users aren't confused.

And you do realize that, with up-to-date versions of Subversion, you can
force a lock to be broken as an ordinary user?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 9 21:47:37 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.