SVN multiple repositories in subfolders

Posted by fampinheiro on Stack Overflow See other posts from Stack Overflow or by fampinheiro
Published on 2010-04-23T20:52:16Z Indexed on 2010/04/24 10:03 UTC
Read the original article Hit count: 465

I'm using apache+svn

apache config file:

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /code>
    DAV svn
    SVNParentPath "c:/repositories"
</Location>

Imagine i have this file structure (in every t? i have one svn repository)

c
    repositories
        uc1
            0809v
                t1
                t2
                t3
            0809i
                t1
                t2
        uc2
            t1
            t2
        t1

I can access the repositories using:

svn://domain.com/code/uc1/0809v/t1  
svn://domain.com/code/uc1/0809v/t2  
svn://domain.com/code/uc1/0809v/t3  

I want to access them using the urls:

http://domain.com/code/uc1/0809v/t1  
http://domain.com/code/uc1/0809v/t2  
http://domain.com/code/uc1/0809v/t3  

and see the content of the repository in the browser.

If i create the repository on the root of the svn folder i can see the repository (http://domain.com/code/t1) when i try the other urls i get the error Could not open the requested SVN filesystem

My question is,
It is possible to do a search in all subfolders looking for svn repositories?

© Stack Overflow or respective owner

SVN multiple repositories in subfolders

Posted by fampinheiro on Server Fault See other posts from Server Fault or by fampinheiro
Published on 2010-04-24T09:46:58Z Indexed on 2010/04/24 9:54 UTC
Read the original article Hit count: 465

Filed under:
|
|
|

I'm using apache+svn

apache config file:

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /code>
    DAV svn
    SVNParentPath "c:/repositories"
</Location>

Imagine i have this file structure (in every t? i have one svn repository)

c
    repositories
        uc1
            0809v
                t1
                t2
                t3
            0809i
                t1
                t2
        uc2
            t1
            t2
        t1

I can access the repositories using:

svn://domain.com/code/uc1/0809v/t1  
svn://domain.com/code/uc1/0809v/t2  
svn://domain.com/code/uc1/0809v/t3  

I want to access them using the urls:

http://domain.com/code/uc1/0809v/t1  
http://domain.com/code/uc1/0809v/t2  
http://domain.com/code/uc1/0809v/t3  

and see the content of the repository in the browser.

If i create the repository on the root of the svn folder i can see the repository (http://domain.com/code/t1) when i try the other urls i get the error Could not open the requested SVN filesystem

My question is,
It is possible to do a search in all subfolders looking for svn repositories?

© Server Fault or respective owner

Related posts about apache

Related posts about subversion