Svn - Copy

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…

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

  • 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"

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


Powered by ComboStrap