Switching Branches
From RifidiWiki
Contents
Introduction
Sometimes it is necessary to use code from another branch in the svn repository. For example, if you want to run code that is tagged or is in another branch. The basic thing that you need to do is check out the code from that branch in the same way that you originally checked out the code. You can do this either by creating a new eclipse workspace and checking out the code into it, or you can delete the existing projects and check out the code into your existing workspace. The rest of this article will give you detailed instructions on how to go about deleting the old projects and checking out the new code.
Switching to a new branch or tag
Prerequisites
- Please read Building Rifidi from source to get starting building Rifidi with eclipse, if you are not familiar with this process.
Delete the old Projects
- The first step is to delete your existing projects. To do this, select all the project in your workspace (that you want to delete), right click, and select delete
- On the dialog box that pop up, select 'Also delete contents from file system'
Check out new Projects
- Now switch to the repository perspective by selecting Window->Open Perspective->Other->SVN Repository Exploring
- Drill down through the repository until you find the branch or tag that you want to check out.
- Select the projects in that branch or tag, right click, and select checkout
- Now select finish on the dialog box that pops up