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

Re: Having a path name after specifying repository location

From: Tech Geek <techgeek12345_at_gmail.com>
Date: Wed, 20 Oct 2010 12:10:01 -0700

>The other way you could do this, if you insist upon PartA & PartB being
separate repositories, is to have a different <Location> >block for each
project, and specify SVNParentPath as /var/lib/svn/ProjectB . Then you could
have PartA & PartB set up as separate >repositories - albeit with a lot more
management overhead as you add projects/repositories, and potentially more
confusion.

You mean something like this?
<Location "/svn">
        DAV svn
        SVNParentPath /var/lib/svn/projectA
        SVNListParentPath On
        AuthBasicProvider ldap
        AuthType Basic
        AuthzLDAPAuthoritative off
        AuthName "Subversion Repositories"
        ......
        ......
        require valid-user
</Location>

<Location "/svn">
        DAV svn
        SVNParentPath /var/lib/svn/projectB
        SVNListParentPath On
        AuthBasicProvider ldap
        AuthType Basic
        AuthzLDAPAuthoritative off
        AuthName "Subversion Repositories"
        ......
        ......
        require valid-user
</Location>

and so on....

Would be nice if someone already has a script (that excepts the name of the
repository) that does the job of entering the <Locaiton> block in the apache
configuration file.

Also why svn does not support nesting paths (logical empty folder) under
repository location. I am sure many people might have encountered simialar
issues especially if they have existing projects before they started using
subversion.

 Thanks for the help.
Received on 2010-10-20 21:10:40 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.