问题
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.
回答1:
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.
回答2:
Try checking out this link:
http://blog.platinumsolutions.com/node/76
We use WebSVN and it works very well.
来源:https://stackoverflow.com/questions/747898/list-subversion-repositories