Creating a Branch in a Subversion Repository

Create a branch in a repository to isolate specific aspects of your software development efforts and to work in parallel with other developers.

bullet
To create a branch in a Subversion repository
  1. In the repositories organizer, select the appropriate Branches directory in the navigator pane and click the Add Branch button.

  2. Enter a name for the new branch.

  3. From the pop-up menu, choose an existing branch to serve as the starting point for this new branch.

  4. Enter a log message if you wish.

  5. If appropriate, select the option to automatically check out the new branch.

  6. Click Create.

    ../art/repositories_add_branch_svn.png

    The illustration shows adding a branch named Sixth, using the branch named Fifth as a starting point.

Subversion creates the new branch in the remote repository; to work on it locally, you must first check it out. Selecting the “Automatically checkout this branch” option causes Xcode to check it out for you. If you select this option, Xcode opens a Save As dialog so you can specify the name and location for the working copy of the new branch. If you do not select this option, you have to check out the branch before you can work with it.