Create SVN Branch

From ADF Docs
Revision as of 00:27, 20 December 2009 by Renee.mckechnie (talk | contribs)
Jump to: navigation, search

Overview

One of the features of version control systems is the ability to isolate changes onto a separate line of development. This line is known as a branch. Branches are often used to try out new features without disturbing the main line of development with compiler errors and bugs. As soon as the new feature is stable enough then the development branch is merged back into the main branch (trunk).

Subversion does not have special commands for branching, but uses so-called cheap copies instead. Cheap copies are similar to hard links in Unix, which means that instead of making a complete copy in the repository, an internal link is created, pointing to a specific tree/revision. As a result branches are very quick to create and take up almost no extra space in the repository.

For more information, view this page: TortoiseSVN branching/tagging

Create a New Branch

Follow the steps below to create a new branch and set it as your working copy.

  1. Locate the Apps directory (not within the ADF directory) and right click the checked out SVN repository. From the menu, select TortoiseSVN > Branch/tag....
    1. Svn apps 04.jpg
  2. In the Copy dialog, enter the URL for the new branch. It would be something like http://consulting.paperthin.com/svn/pt_article_editor/branches/1.0.0. For the other fields in the dialog, select HEAD revision in the repository and check the box for Switch working copy to new branch/tag
    1. Svn apps 05.jpg