Table of Contents

About

Copy is a command that permits to create a branch

Step by step

With tortoise:

  • Checkout the trunk (It can be done from another branch)
  • Right click on the folder and select “Branch/Tag…

Svn Tortoise Branch Tag

  • Enter the path to your new branch, a commit text and check the checkbox if you want to switch your working copy. command.

Svn Tortoise Copy Branch

  • Clicking the OK button will perform a svn copy
svn copy 
       svn+ssh://host.example.com/repos/project/trunk \
       svn+ssh://host.example.com/repos/project/branches/NAME_OF_BRANCH \
      -m "My commit message"

Svn Tortoise Copy Finished

  • You can verify the switch in the properties of the file

Svn Branch Creation Switch Verification