Reputation: 41
I need the list of repositories from the SVN server and also I need the associated users connectd to particular repository using Java API or through SVN command.
I have got the code to get the details inside the repository, but I'm not able to get the repository list from server.
Upvotes: 1
Views: 3064
Reputation: 10419
Subversion does not provide any API or interface for getting the list of repositories from a server. If you are using Apache, you could probably issue a GET request to the root of the SVN server and then screen scrape the results to get the list of repositories.
Another option would be to use Subversion Edge for your server. It includes a full REST API for server management type things such as getting the list of repositories. See:
https://ctf.open.collab.net/sf/wiki/do/viewPage/projects.svnedge/wiki/ApiDocs
I am not aware of any options that would work if you are using svn:// or svn+ssh:// protocols.
Upvotes: 1