When we upgrade Xcode versions on the Green Dragon bots we need to also upgrade the SVN version of the current working directory. This patch will allow build.py to do so automatically.
This patch also includes a bit of general cleanup and a typo fix.
Can't we run svn upgrade unconditionally?
Why the version check?