anywho...
It happened to me more than enough to write a very simple shell script.
#!/bin/bash
mysvnclean() {
if [ -d $1 ]; then
for tmpDescendDir in $1/*
do
if [ -d $tmpDescendDir ] && [ $tmpDescendDir != ".svn" ]; then
svnLookupDir="${tmpDescendDir}/.svn"
if [ -d $svnLookupDir ]; then
echo "$tmpDescendDir"
svn cleanup $tmpDescendDir
mysvnclean $tmpDescendDir
fi
fi
done
fi
}
mysvnclean $1
save this script with "anyname.sh" and run in like
sh anyname.sh /top/path/to/cleanup
No comments:
Post a Comment