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

Re: Restrict users creating folders/files directly under trunk

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Thu, 3 Apr 2008 05:46:25 -0500

  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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-03 12:47:28 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.