3 if test "$1" = ""; then
4 echo "Usage: $0 \"<commit-comment>\" [file/directory]"
8 echo "$0: Reading projects..."
9 if test "$2" = ""; then
10 LIST=`svn status */ | grep " " | grep -v "X " | cut -d " " -f 8 | cut -d "/" -f 1 | sort --unique`
12 LIST=`svn status */*/"$2" | grep "/" | grep -v "X " | cut -d " " -f 8 | cut -d "/" -f 1-2 | sort --unique`
15 for repos in ${LIST}; do
16 echo "$0: Committing in ${repos} ..."
17 cd "${repos}" || exit 255
18 svn commit -m "$1" "$2"