tags:

views:

2050

answers:

2

How do I list all my subversion repositories on a html page? All repositories are located in a root folder.

I want to list them as a link list to get a overview of my repositories and to have easy access to them.

+3  A: 

In your Apache httpd.conf try:

<Location /svn>
  DAV svn

  # any "/svn/foo" URL will map to a repository /usr/local/svn/foo
  SVNParentPath /usr/local/svn
</Location>

See redbean

Where /usr/local/svn becomes your repository parent folder.

Edit: I'm assuming that you use a dedicated folder for the single purpose of locating your repositories ie. you don't put anything else in there.

morechilli
If you add "SVNListParentPath on" to this section the /svn url will show a list of the available repositories.
Bert Huijben
Won't this simply show all the directories in that location whether they are valid repositories or not?
KOGI
+1  A: 

Try checking out this link:

http://blog.platinumsolutions.com/node/76

We use WebSVN and it works very well.

Zack