svn Switching a working copy to a different branch


An existing working copy can be quickly transformed to reflect the contents of a different branch in the same repository. For example, you might have a working copy of the trunk and now need to work on a development branch. Instead of checking out a completely new working copy (which can waste a lot of time and disk space), you can use the svn switch command to efficiently modify your existing working copy:

svn switch ^/MyProject/branches/MyNewBranch

Your working copy will now reflect the contents of the branch instead of the trunk.