Re: How to stop delete files/directory from SVN Repo Browser
On Aug 6, 2012, at 01:28, 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. It should definitely be possible to write a pre-commit hook to do this.
Re: How to stop delete files/directory from SVN Repo Browser
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