/[scripts]/trunk/svn-overlay.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/svn-overlay.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (hide annotations)
Fri Mar 9 00:59:20 2007 UTC (15 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 268 byte(s)
handy script (which should be in root of your svn checkout) to overlay
checkout over root of your filesystem (useful for tracking configuration
files in svn)

1 dpavlin 28 #!/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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26