Intro to Subversion Switch
When working with branches, Apache Subversion provides a useful shortcut for switching your current working copy to a new branch’s location, without the overhead of checking out a fresh working copy containing the targeted branch. Leveraging this functionality, it’s possible to build a working copy that contains data from a range of repository locations, although these locations must originate from the same repository.
To achieve this, enter the ‘svn switch’ command, followed by the URL you wish to switch to:
svn switch repository-URL
Users of SmartSVN, the cross-platform graphical client for SVN, can perform a switch simply by opening the ‘Modify’ menu and selecting the ‘Switch…’ option.
In the subsequent dialog, enter the new URL – or select the ‘Browse’ option to view the different branches – and specify whether you’re switching to the latest revision (HEAD) or a particular revision number.
Tip. Use the ‘Select…’ button to view more information about the different revisions.
Not yet started with SmartSVN? Claim your free 30 day trial at www.smartsvn.com/download