Revision 345 (by dpavlin, 2004/06/13 12:56:43) script to update all checkouts
#!/bin/sh

basedir=/data/webpac-

find branches/ -type d -maxdepth 1 -mindepth 1 | grep -v .svn | cut -d\/ -f2 | while read name ; do
	dir="$basedir$name"
	if [ -e "$dir" ] ; then
		if [ -L $dir ] ; then
			dir=`readlink $dir`
		fi
		echo "updating $dir"
		svn update $dir
	else
		echo "checkout $dir doesn't exist, skipping..."
	fi
done