Overview
Artifact ID: | 4685cf049d6ba0159cc3c589177bcb1f5b5687cc |
---|---|
Ticket: | 98b63bd31671500627c21c1d28326057e0fc93d2
3-way merge drops line |
User & Date: | anonymous 2009-02-16 11:01:31 |
Changes
- comment changed to:
I noticed that during a merge a line from the branch I was merging from was missing between the conflict markers. A bit of analysis gave me the test case generated by a shell script at the end of this ticket. Note than the line containing <b>'f'</b> in v1 is completely missing in the merge result. Also, the line containing <b>'a'</b> should either appear once outside or twice inside the conflict markers. <verbatim> #!/bin/sh for l in 1 2 3 4 5 6 7 8 9; do echo $l; done > base for l in 1 2 3 4 5 a b c d e f 6 7 8 9; do echo $l; done > v1 for l in 1 2 3 4 5 a b c x y z 6 7 8 9; do echo $l; done > v2 fossil test-3-way-merge base v1 v2 result </verbatim>
- foundin changed to: "bc857ecd92"
- private_contact changed to: "6984f5ff2d3f66a87d3c6ddcf777c37b54e478f0"
- severity changed to: "Severe"
- status changed to: "Open"
- title changed to: "3-way merge drops line"
- type changed to: "Code_Defect"