bzr merge puts entire ChangeLog from other branch into conflict, rather than just the diff cherry-picked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Cherry picking changes from trunk into a stable branch, since the changes are bug fixes useful for a new stable release.
Each and every time, I get a conflict in ChangeLog - which isn't necessarily surprising given the different text - what is surprising is that conflict includes the entire difference between the two branches of the ChangeLog.
This makes me extremely nervous as merge is doing more than what it's told to do!
Example:
$ bzr branch -r 665 http://
$ cd upstart
$ bzr merge -r 725..726 http://
ChangeLog will have conflicted, but look at the conflict! The ChangeLog added for that merge should have only been 2 lines, not 200!
Related branches
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
description: | updated |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
The merge picks 725 for the base in this case, is that correct.
If so then the base consists of the Changelog at 725, other with it at 726,
and this at 665, which obviously is missing plenty that the base has. I guess
it is these missing lines that cause the extra conflict.
Taking 725 as the merge base seems correct, and so the conflict seems
natural, but I'm not sure, should it show the lines that the base has, but
this doesn't as deleted in the 'this' side?
Thanks,
James