Sharpsvn - 获取 Subversion 服务器上所有项目的列表
我需要从 Sharpsvn 列出颠覆服务器上的所有项目。这相当于命令:
wget http://me:@subversion-server/root/
我在 Sharpsvn api 中找不到该函数。该功能存在吗?
更新:
抱歉,不干净。我将举一个现实世界的例子。
考虑 www.apache.org 及其 SVN。
我需要所有 apache 项目的列表,例如 abdera、activeqm、ant、apr ...我可以通过 http http://svn.apache.org/repos/asf/ 或通过 svn: "svn list
I need to list all projects on a subversion server from sharpsvn. This is equivalent to command:
wget http://me:@subversion-server/root/
I cannot find the function in sharpsvn api. Does the function exist?
Update:
Sorry for not being clean. I will give a real world example.
Consider www.apache.org and their SVN.
I need the list of all apache projects such as abdera, activeqm, ant, apr ... I can get the list by http at http://svn.apache.org/repos/asf/ or by svn: "svn list http://svn.apache.org/repos/asf"
. Is the http method available through sharpsvn api? On my server the "svn list" method does not work (misconfigured?).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SVN根本没有“项目”。只有文件夹。所以您可能只是在寻找存储库根目录的文件夹列表!?如果您正在寻找单个服务器上的所有存储库:这些存储库不是由 subversion 管理的,因此您必须从其他地方获取该信息。
SVN does not have "projects" at all. Only folders. So you are probably looking just for the folder list of the root of your repository!? If you are looking for all repositories on a single server: Those are not managed by subversion, so you have to get that information from somewhere else.