[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: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-09 20:22:52 CEST

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.

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