weave merge removes text before first conflict
Bug #35886 reported by
David Allouche
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Aaron Bentley | ||
bzr (Ubuntu) |
Fix Released
|
Medium
|
Jeff Bailey |
Bug Description
When using "remerge --merge-type=weave" with a specified conflicted file, the part of the file before the first weave-merge conflict is ignored. If weave merge succeeds without conflict, the resulting file is empty.
I have not checked whether the problem occurs without specified files.
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
Changed in bzr: | |
assignee: | nobody → aaron-bentley |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Committed |
Changed in bzr: | |
status: | Confirmed → Unconfirmed |
assignee: | nobody → jbailey |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can confirm that this applies to merge as well as remerge, so it's not related to having specified files. I have eyeballed the tree transform weave merge code several times, but can see nothing wrong on the transform side.
It can be reproduced by merging bzr.dev (revno 1594) into bzr.ab (revno 1576), which destroys the contents of bzrlib/ transport/ local.py