#!/bin/bash
cd /www/wwwroot/
ls -l --color=auto|awk '{print $9}' >/home/1.txt
for dir in `cat /home/1.txt`
do
cd $dir
svn ci app/settlement/config.php -m "add"
svn revert --depth=infinity .
svn up >/dev/null 2>&1
if [ $? = 0 ];then
echo $f is ok
fi
cd ..
done