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.

link|improve this question

50% accept rate
feedback

1 Answer

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 }'
link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.