You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Kota, Sreenivasa ShravanaKumar" <sh...@hp.com> on 2008/04/02 13:05:01 UTC

Restrict users creating folders/files directly under trunk

Hi All,

How do I restrict users to create files and folders directly under trunk ?

What I mean is, the SCM engineer  will create some projects / releases under trunk and then the developer work under those  project / release.

Is it possible? If so, how ?

Appreciate your help

Thanks & Regards
Shravana Kumar


Re: Restrict users creating folders/files directly under trunk

Posted by Ryan Schmidt <su...@ryandesign.com>.
 On Apr 2, 2008, at 08:05, Kota, Sreenivasa ShravanaKumar wrote:

> How do I restrict users to create files and folders directly under  
> trunk ?
>
> What I mean is, the SCM engineer  will create some projects /  
> releases under trunk and then the developer work under those   
> project / release.
>
> Is it possible? If so, how ?

You can write a pre-commit hook script to prevent the commit from  
happening. You can use any criteria you wish for that. For example,  
you can examine the in-progress transaction using "svnlook changed"  
to see if anything is being added directly under trunk that you don't  
want added there.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org