better return status management and svn error handling