[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: asdf <fia_wrc_fanatic_at_yahoo.com>
Date: 2006-08-09 20:52:30 CEST

--- Ryan Schmidt <subversion-2006c@ryandesign.com> 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.
>
>

Right... I got my return values mixed up, thanks for pointing that out!

Regards,

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
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:54:02 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.