Parent Directory | Revision Log
script to update all checkouts
1 | dpavlin | 345 | #!/bin/sh |
2 | |||
3 | basedir=/data/webpac- | ||
4 | |||
5 | find branches/ -type d -maxdepth 1 -mindepth 1 | grep -v .svn | cut -d\/ -f2 | while read name ; do | ||
6 | dir="$basedir$name" | ||
7 | if [ -e "$dir" ] ; then | ||
8 | if [ -L $dir ] ; then | ||
9 | dir=`readlink $dir` | ||
10 | fi | ||
11 | echo "updating $dir" | ||
12 | svn update $dir | ||
13 | else | ||
14 | echo "checkout $dir doesn't exist, skipping..." | ||
15 | fi | ||
16 | done |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |