Showing posts with label branch. Show all posts
Showing posts with label branch. Show all posts

Wednesday, August 10, 2011

How to branch in svn using eclipse

Eclipse is one of the best IDEs I have seen. The subversion support is also quite cool. Just ensure that you the latest version of the plugin installed.
While developing bigger projects , the branch feature of svn is quite helpful. Although now it seems quite easy but it took me some time to figure out the exact details.
So, to create a branch first the project should be setup like::
"project name"
|---- trunk
|---- tags
|---- branches

the folder "trunk" is the mainstream of the project. If you want to create a new branch or new tags.
  • Update your project (Team->update)
  • Create a branch/tag (Team->Branch/tag). Make a new subdirectory in the branches directory if you want a branch or in the tags directory.
  • Now, switch your working copy to this folder.
  • Your branches/tags have been create and you can switch between them whenever you want using (Team->switch to another branch/tag)