Code Snippets and More

If we already have a working copy of a repository and we want to change the working directory to another into the repository, we can use the switch command.


If we have a working copy of a repository that points to a remote directory called "trunk" ( but we want to work into another directory into the repository, for example "branches" ( we must use the SVN switch command in the root directory like:

svn switch

Other times we want to switch the repository URL (As the domain domain1 of the repository has changed to a new one domain 2) We can do this executing the switch command with the "--relocate" option added as:

svn switch --relocate

Recent comments

© 2014 Copyright by Keyvan Akbary