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

RE: RE: RE: Directory structure for repositories

From: Daniel Becroft <Daniel.Becroft_at_supercorp.com.au>
Date: Wed, 16 Jan 2008 11:22:09 +1000

> -----Original Message-----
> From: Glazner Ryan S Contr 412 RANS/ENR
> [mailto:ryan.glazner.ctr_at_edwards.af.mil]
> Sent: Wednesday, 16 January 2008 10:46 AM
> To: Ryan Schmidt
> Cc: users_at_subversion.tigris.org
> Subject: RE: RE: Directory structure for repositories
>
>
> >> I have a Windows 2003 Server running Apache 2.2 with (I believe)
> >> the most current Subversion. I want my SVN to look something like
> >> this:
> >>
> >> C:\svn ß SVN root for SVNParentPath
> >> C:\svn\Projects\ProjectA ß Sample repo within subdirectory
> of svn root
> >> C:\svn\Personal\MyRepo ß Another sample repo parallel to
> the above
> >> in structure
> >>
> >> I have this set up already on the drive, with the
> following Apache
> >> setup:
> >>
> >> <Location /svn>>
> >> DAV svn
> >> SVNParentPath C:\svn
> >> AuthType Basic
> >> AuthUserFile C:\svn\svn-passwd
> >> AuthzSVNAccessFile C:\svn\authz
> >> Require valid-user
> >> </Location>>
> >>
> >> With this setup, it seems I can create a new repo at
> C:\svn\(repo),
> >> but if I try to do something like
> C:\svn\Projects\(MyProjectRepo),
> >> Apache chops up all of the incoming URLs (i.e. http://server/svn/
> >> Projects/MyProjectRepo) to read a repo named Projects. I thought
> >> the SVNParentPath was supposed to allow multiple
> repositories under
> >> it. Is there a way around this? I've been trying different things
> >> with all of the different configurations for weeks trying to get
> >> something like this to work.
>
> >Subversion does not currently support this. SVNParentPath
> only finds
> >repositories directly under the indicated directory, not
> repositories
> >in directories under the indicated directory.
>
> >But I think this would be a useful feature to have. I recall the
> >request being made at least twice before on this mailing
> list. But I
> >can find no ticket. It may be time to create a ticket for this.
>
> That would certainly explain it not working. Okay, so I'm pretty much
> forced to create one huge "department" repository with
> project branches
> and possible subproject subbranches, it sounds like. I know it may be
> somewhat of a tall order, but is there a simpler way of accomplishing
> the goal?

NOTE: I haven't setup SVN with Apache/HTTP.

As a suggestion, could you setup the separate areas as different locations under Apache?

E.g.
<Location /svn/project>
        SVNParentPath C:\svn\Projects
<Location /svn/Personal>
        SVNParentPath C:\svn\Personal

or

<Location /svn-project>
        SVNParentPath C:\svn\Projects
<Location /svn-personal>
        SVNParentPath C:\svn\Personal

Etc.

Cheers,
Daniel B.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-16 02:24:53 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.