SVN: Create a branch from branch and merge to trunk

时光总嘲笑我的痴心妄想 提交于 2019-12-03 23:23:01

Since you stated that you created B2 just to have the latest and greatest changes from B1, then I would say logically B2 is now dependent on B1, so I would go

B2 ---reintegrate branch--> trunk
B1 ---reintegrate branch--> trunk

Either reintegration can happen first.

You have to make sure that you keep B2 updated with any new Trunk or B1 commits, then you can pick during the update to B2 how to handle any conflicts.

As long as you do this, you can commit either branch first. You will be able to resolve any conflicts during the reintegrations.

When I branch, I branch even for very small changes, that way I have a branch per task and I can reintegrate them independently into the trunk in an order I need to...For the most part.

Grammin

You can reintegrate B2 directly back into the trunk. Just be careful that you don't go too long without merging back or taking updates from the trunk.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!