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

Re: How to stop delete files/directory from SVN Repo Browser

From: Lorenz <lorenznl_at_yahoo.com>
Date: Tue, 07 Aug 2012 05:31:04 +0000

Subodh Singh wrote:
>I am new to SVN Repository. I need help to stop deletion of files/directory
>from Repo Browser, so that user can't commit if any delete operation is
>occurred. I can get this information using svnlook but after commit. I need
>to catch any delete action before commit. I tried it using svn hooks but not
>able to do so. Please guide me.

you can examine the prepared but not yet finalized commit (the
transaction in svn speak) in the precommit hook just like you can the
newly created revision in the postcommit hook.

-- 
Lorenz
Received on 2012-08-07 07:29:47 CEST

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.