svn switch

To change the branch you have checked out you use “svn switch url [PATH]” (the path is optional).

svn switch .

Also svn switch can be used to “relocate” the repository url – i.e. if the server has moved/changed address/ip or similar. “svn switch –relocate FROM TO [PATH]”

svn switch --relocate .

warning: Only if the working copy still reflects the same repository directory, but the location of the repository itself has changed, then svn switch –relocate is safe to use.