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

Re: phantom directories in less than 8 revisions, db errors

From: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2002-12-06 15:37:16 CET

Peter Gervai asked:
>
> So, as far as I see it's not possible to do something like this?
>
> <location /svn/>
> [authorize group public]
> </location>
>
> <location /svn/private/>
> [authorize group private]
> </location>

This will not do what you want, because svn doesn't always use URLs that
begin with /private to access/modify files under /private in the
repository. (However this will obviously work for pure GET requests, so
you can still prevent a part of your repos from being publicly
web-browseable by configuring the authorization for GET requests only,
via the <Limit> apache directive.)

> and if I create a public and a private repos then it's not possible to move
> items between with history intact? so hooks only?

No history between repos, yes, unless you do a dump and a load, which
begins to be hackish, does it.

If you want to control write access to a subdirectory, a hook is the
way to go.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 6 15:43:00 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.