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

Re: controlling delete

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-07-10 20:16:03 CEST

Greg Thomas <thomasgd@omc.bt.co.uk> writes:
> On Tue, 10 Jul 2007 11:52:50 -0500, <John.Salinardo@shell.com> wrote:
>
>>Is there a command for controlling SVN delete. We would like to only
>>give specific users delete privileges and not allow others to have it.
>
> I'm sure you're aware of this, but remember that this is also likely
> to prevent use of "svn move", too.

Note that a pre-commit hook could distinguish between deletes and
moves and prohibit only the former. Basically, if there's a 'delete'
in the commit, without at least one corresponding 'copy' ('add with
history') of the deleted file happening somewhere else, then prohibit.

-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 10 20:15:44 2007

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.