List subversion repositories

别来无恙 提交于 2019-12-22 10:15:36

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!