On Sep 14, 2011, at 22:19 , Luis Augusto Lima wrote:

> Hi,
> 
> I need to lock the creation of directories in a project versioned with SVN. 
> Authorized users can change and/or add archives, but when they try to add an 
> directory, SVN block this commit.
> 
> I know that this can be done with a pre-commit hook, but I have no ideia how 
> can I do this.
> 
> Any sugestions, please!



Hi
Have a look at the "enforcer", a Python script that you can run from 
the pre-commit hook.

  
https://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/enforcer

Regards,
Steve

--
Stephen Butler | Senior Consultant
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
tel: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194


Reply via email to