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

Re: Apache and SVN subdirectories

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Tue, 18 Mar 2008 16:00:02 -0400

Matthew Pounsett wrote:
> SVNParentPath needs to refer to a repository, so in order to have
> different repositories here you'll need something like this:

Ummm, no. SVNParentPath points to a directory *containing* repositories
(hence the "Parent" part). You can have multiple repositories
underneath a single SVNParentPath, but only directly under (i.e. no deep
directory layouts).

To the original poster, you would have to have multiple Location stanzas:

<Location /svn/Current/>
    Dav svn
    SVNParentPath D:\Repositories\Current\
    Authtype...
</Location>

<Location /svn/Archive1/>
    Dav svn
    SVNParentPath D:\Repositories\Archive1\
    Authtype...
</Location>

<Location /svn/Archive2/>
    Dav svn
    SVNParentPath D:\Repositories\Archive2\
    Authtype...
</Location>

But somehow, reading between the lines of your request, I think you
aren't using Subversion properly. Normally, you would never "archive" a
repository, unless you have one project per repository and when you
retire a project, you physically move the repository out of the main
listing.

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-18 21:00:31 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.