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

Re: svnadmin create complains about subrepositories

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Fri, 11 Feb 2011 09:00:15 +0100

On Thursday 10 February 2011, Stefan Sperling wrote:
> On Thu, Feb 10, 2011 at 07:02:18PM +0100, Fabian Richter wrote:
> > Am Thu, 10 Feb 2011 11:24:09 -0600
> > schrieb Ryan Schmidt <subversion-2011a_at_ryandesign.com>:
> > > On Feb 10, 2011, at 09:59, Stefan Sperling wrote:
> > > >> and can you please add an --force switch to
> > > >> still being able to create Repositories within the path of another?
> > > >
> > > > That's a reasonable request, I think. Not a usual use case but why
> > > > not?
> > >
> > > Really? What possible reason could exist for doing this? :)
>
> I have no idea, to be honest. But then again I'm not going to guess.
> Maybe someone can present a good use case for this? Dunno.

The only reason I'm aware of is that you want to make browsing easier when you
have multiple repositories, as there is otherwise no way to do that. The idea
is that you have a parent FS-dir that contains the parent repo. The parent
repo FS-contains the child repos. Further, it has repo-directories for each
child repository, too. Since SVN tries to walk the FS-path as far as possible
for locating the repository. Therefore, a "svn ls parent" will show the
repo-content of the parent's root but a "svn ls parent/child-x" will not show
the repo-content of the parent's child-x subdir but show the root of the
parent/child-x repository.

In that light, I support the suggested "--force" option for people that
really, really need it.

Uli

-- 
ML: http://subversion.apache.org/docs/community-guide/mailing-lists.html
FAQ: http://subversion.apache.org/faq.html
Docs: http://svnbook.red-bean.com/
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at <http://www.dominolaser.com/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2011-02-11 08:59:20 CET

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.