0

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.

1 Answer 1

0

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 }'
2
  • This does a file parse, but this fails on svn1.7
    – Pentium10
    Nov 16, 2011 at 12:47
  • @Pentium10 see the update to my Answer
    – wnrph
    Nov 16, 2011 at 14:38

You must log in to answer this question.

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