Adding in svn cleanup statements before and after svn up commands to prevent issues.

Adding in a few lines to get the svn 1.8 version