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

Re: browsing repositories

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-12 09:57:41 CEST


On Mon, Aug 11, 2003 at 06:08:54PM +0200, zinnbath@asamnet.de wrote:
> "Michael Wood" <mwood@its.uct.ac.za> wrote:
> > On Thu, Aug 07, 2003 at 03:42:37PM +0200, zinnbath@asamnet.de wrote:
> >> Hi there,
> >>
> >> I have two similar repositories with the following directory structure:
> >>
> >> 1)
> >> repos1/ (generated by "svnadmin create repos1")
> >> repos1/repos1a (generated by "svnadmin create repos1/repos1a")
> > [snip]
> >
> > That's asking for trouble. Why did you do that?
> I thought, that the hierarchy withing the filesystem would always
> result in the same hierarchy when browsing through repositories, i.e.

No, see below.

> browsing a repository would make visible all "sub -repositories"
> (would be very comfortable if you had several repositories, wouldn't
> it ?). But sometimes the browser shows the "sub-repositories" and
> sometimes does not and I wonder, how the html information is extracted
> from the repository, that's all.

The stuff in the repository is served up by mod_dav_svn. This module
does not show files in the Unix/Windows filesystem, but rather the
contents of the Berkeley DB files (which store the Subversion

Subversion is not meant to have repositories within repositories. Doing
this is likely to confuse Subversion and/or Apache (or else do something
unexpected). Different projects should either be stored within a single
repository or you should have your repositories completely separate from
each other. Repositories should not be nested.

i.e. either: svnadmin create repos1 and then store in it:
or: svnadmin create repos1 and store in it:
        {trunk,branches,tags} # For proj1
    svnadmin create repos2 and store in it:
        {trunk,branches,tags} # For proj2
or a combination of both.

DO NOT: svnadmin create repos1; svnadmin create repos1/repos1a

I hope this helps. :)

Michael Wood <mwood@its.uct.ac.za>
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 12 09:58:40 2003

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