开发者

SVN merge an already merged branch to trunk

Using a command line version of SVN (SlikSvn), I have a branch Ive been working on for a while, and merged it into trunk as I thought I had finished with that branch.

But now, Ive done more work on the branch, and committed a number of new revisions (to the branch). The trunk has not had any modifications since the branch was merged.

What I want to do now, is get my recent branch changes into trunk, and Im unsure if I should merge from the revision number where this branch started again开发者_StackOverflow, or from the revision where I last merged, or the one after... or maybe something else.

Very many thanks.


Did you use merge --reintegrate when merging to trunk? That's the right way to do it. If so, you can continue working in the branch. But you need to block the merge from being re-merged into your branch. See this answer.


Just go into trunk working copy do

   svn merge URL/branchname

that's it.

Or in TortoiseSVN default merge revision range.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜