| Line # | Revision | Author | |
|---|---|---|---|
| 1 | 28 | dpavlin | #!/bin/sh |
| 2 | |||
| 3 | rep=`svn info | grep URL | cut -d' ' -f2` | ||
| 4 | |||
| 5 | echo "using repository $rep" | ||
| 6 | svn ls $rep | grep '/$' | while read dir ; do | ||
| 7 | echo "overlay $dir" | ||
| 8 | tmp="/tmp/svn-$dir" | ||
| 9 | svn co "$rep/$dir" $tmp | ||
| 10 | cd $tmp && find . | grep '.svn' | cpio -pdvu "/$dir" | ||
| 11 | rm -Rf $tmp | ||
| 12 | done |