I'm attempting to create a backup of my client's existing svn repositories, which is publicly available over http.
If possible, I'd like to be able to make new repositories automatically, from any computer, without having to give console access to the server to external parties (i.e. the users could do a ls
on my svn repo dir)
My problem is that I need to know the list of svn repositories on the server - it isn't a fixed list, since the user will add new repositories over time.
I'm able to list the repositories on an html page via Apache's mod_dav_svn
module, using the SVNListParentPath On
directive. I got this page: http://svn.ohwr.org/
My question is: what is the easiest way to obtain a usable list of such repositories? I'll need to parse that list in order to make syncs, probably using shell commands.
Must I parse the HTML with shell commands, or is there a better way to get that list?