subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenz <>
Subject Re: How to stop delete files/directory from SVN Repo Browser
Date Tue, 07 Aug 2012 05:31:04 GMT
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.


View raw message