简体   繁体   中英

TFS2012 Merging issue with branch after rollback the trunk change

Below is the chronology of the Merge and branching.

  1. 4/15 - Create a branch BRCH1 from Trunk which has three subfolder A, B, C
  2. 6/18 - Merge the changes from branch to Trunk including A, B, C. 90 files change shown
  3. 6/19 - Create another BRCH2 from Trunk with same subfolder A, B, C
  4. 6/20 - Rollback the Trunk changes.
  5. 6/21 to 7/6 - Made changes in BRCH2. In the meanwhile, there are couple of checked in trunk. All the changes were updated to BRCH2 as well.
  6. 7/7 - Try re-integrating to Trunk from BRCH2. Now showing only 20 files changes.

Why it is showing discrepancy. I checked few files and found that changes are present in BRCH2 and not showing in Trunk on merge.

I am not sure what the problem is?

So when you created the branch BRCH2 (Step 3), all the 90 changes are already in BRCH 2. As long as your are merging all changes in Truck forward to BRCH2 before merging back, you will only get the changes which were made specifically in BRNCH2 in your merge back.

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