开发者

svn creating branch of branch

We have a branch we are working from and I now want to create a branch 开发者_开发技巧from this branch to add some new features to the branch. How cam I do this is such a way that I can easily sync down the changes made to the parent branch and merge my changes into the parent branch?

We are using TortiseSVN.

Thanks!


YourProject/
           /trunk - main line of development
           /branch1 - made by the 'copy' command on trunk
           /branch2 - made by the 'copy' command on 'branch1'

You can safely think of branch2 as you would think of branch1 and merge directly from branch2 to trunk as it is a branch (or more accurately a copy) of trunk.

I recommend you to read in svn book (I think the PDF edition is the best) up to and including the chapter of 'basic branching and merging'.


As branching is merely a copy operation, branching from a branch is equal to branching from trunk or any other directory you may want to branch. I would recommend the SVN book for a more in depth explanation of branching: http://svnbook.red-bean.com/en/1.5/svn.branchmerge.using.html.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜