How can I find all the trunks from several different Subversion servers?

Posted by SylanderXS on Stack Overflow See other posts from Stack Overflow or by SylanderXS
Published on 2010-05-21T13:32:49Z Indexed on 2010/05/22 16:10 UTC
Read the original article Hit count: 166

Filed under:

We have many SVN Repo's but many of them have nested projects. I need some way of finding the trunk directories only and creating a list of them.

So, the svn path to trunk might be svn://svnserver/repos/myproject/trunk or it might be svn://svnserver/repos/myproject/mysubproject/trunk

I need to generate a list of /trunk directories from several different servers. Is there a method for doing that? Has anyone seen a script (sh, perl, whatever) for doing something similar? I just need a hint on how to get started.

© Stack Overflow or respective owner

Related posts about subversion