简体   繁体   中英

SVN Merge from branch to trunk is not working as expected

In order to do some refactoring I copied the trunk in a new branch. Refactoring included renaming Java Source to src and deleting Web Content folder. But after making desired changes in the branch and executing svn merge from the trunk the refactoring changes were not reflected. Though merging did pull in the code changes from the branch. Am I doing something wrong here?

Trunk structure:

行李箱结构

Branch structure:

分支机构

Merged Trunk structure: (no changes reflected)

合并后的主干结构:(无变化反映)

I have never used Subclipse before, however this guide shows how to create a branch, and it seems pretty different to just copy/paste.

I'm guessing you created your branch incorrectly, and that's why you're having trouble merging.

Though I was not able to identify the main cause of the problem but my Subversive plug-in was 6 years old and that could be a possible reason. The way I created branch was perfectly correct and to verify that I ended up installing Subclipse plug-in instead and using Team -> Merge everything worked fine!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM