Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are looking for a script that will traverse in recursive mode all subfolders and list all SVN repository URLs and the path where it was found.

It will be used on /home folder of a user.

share|improve this question

This one should work more or less independently of the svn version

find . -type d -exec svn info {} \; 2>/dev/null \
| awk '/^Repository Root/ { 
            if ($0 != repository) 
                print path " " $0; repository = $0
       }
       /^Path/ { path=$0 }'
share|improve this answer
    
This does a file parse, but this fails on svn1.7 – Pentium10 Nov 16 '11 at 12:47
    
@Pentium10 see the update to my Answer – artistoex Nov 16 '11 at 14:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .