- do svn copy svn+ssh://host.example.com/repos/project/trunk -m “Creating branch”
- While in you own branch, svn info to make sure
- Do svn add, svn commit -m “ rev nr ” and svn up
- svn merge -c 402 file:///host.example.com/repos/project/trunk –dry-run, and then without the last part (you could have merge conflicts that you need to sort out firstly)
- svn commit -m “merged rev 402 from trunk into branch“
- svn switch file:///host.example.com/repos/project/trunk (svn switch to trunk)
- svn merge -c 402 file:///opt/svn/banks-shop.co.za/branches/NAME_OF_BRANCH/ –dry-run and then without
- svn commit -m “merged branches/ rev 402 to trunk”
- remember to use svn up for the branch and the trunk after the commit is done
- 402 is used as a possible example
Wednesday, April 3, 2013
Creating and Updating a trunk from the branch with svn
Labels:
svn
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment