switch SVN Command
How to use switch SVN (Subversion) Command in Linux / Windows?
Explanation
switch command is used to update one branch of working copy to any other different URL.
Usage:
svn switch <URL> path
Example:
- Now you can update the working copy to new url using the below command.
svn switch http://192.168.0.255/testsvn /home/test/mytest
/home/test/mytest - New path to copy the files and directories of working copy.
Now the files and directories of working copy will be moved to new folder mytest
Output:-----------------------------------------------
D test2.txt
C test1
D abc
Updated to revision 7.
--------------------------------------------------------
Result:
By executing the above cmd, your local working copy will be changed to new path '/home/test/mytest' and all the files and directories will be copied from the server repo.