I have over 250 SVN projects I need to checkout from my server, and I was wondering if there was a way I could automate the process. All the projects are in the same file:
data/
..project1
..project2
..project3
etc
Is there a command I could do in the command line to automate the process? Doing it manually 250+ times would be a serious pain.
Thanks!
解决方案
Short of defining 1 'meta'-repo, with all projects defined as external, I can't think of a pure-svn solution.
Depending on your access to the server other methods could be employed, for instance with ssh:
for repo in `ssh user@host 'ls /var/svn-repos'`;do svn co /$repo $repo;done;
In short: you need a non-svn method to list all repos.