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

Re: Storing Subversion repositories within another Subversion repository.

From: Tyler Roscoe <tyler_at_cryptio.net>
Date: Fri, 24 Jul 2009 09:42:23 -0700

On Fri, Jul 24, 2009 at 06:30:06PM +0200, Stefan Küng wrote:
> On 24.07.2009 18:15, Phillip Dann.Ward wrote:
> > It is an empty repository (i.e. empty branches/tags/trunk folders, etc)
> > created using "svnadmin create".
> > I intend to do absolutely nothing with this empty repository once it is
> > in my development repository.
> > I was just wondering if there might be any side effects of doing this
> > such as the development repository getting 'corrupted' if Subversion
> > gets confused by seeing the empty repository inside it or perhaps the
> > empty repository not being exported properly because Subversion thinks
> > that it is part of (rather than just simply stored in) the development
> > repository.
> > Phil.
>
> It's not supported, so you should/must not do it. Think about it:
> whatever name you choose for the name of your 'internal' repository,
> you'll have to create a folder with that name inside the repository. But
> that repository folder is not for you to create files/folders -
> Subversion might one day use its own folder with the name you chose for
> your internal repository - then you're really, really screwed.

Wait, maybe I misunderstood.

OP, are you talking about sticking extra files into the repository
directly? Like alongside conf and db you add my_directory? If so, this
sounds dangerous and I really have no idea what you want to accomplish
with such a system.

If you want to do something like "svn add my_empty_repository_template"
and version that directory with Subversion, that should be fine (though
I'm still unclear on the use case).

tyler
Received on 2009-07-24 18:43:39 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.