adding in extra svn options

Adding back in Lloyds old changes plus some other changes to try to get
it working when running upload.py from some where other then the root
of an svn repo.