It looks like you are trying to get svn to do something that would be more correct using a build automation system. Depending on your environment and goals, Make, Ant, NAnt, or something might be appropriate. In simpler cases, a shell script will do the same.
source
to share