Ticket Change Details
Not logged in
Overview

Artifact ID: 4685cf049d6ba0159cc3c589177bcb1f5b5687cc
Ticket: 98b63bd31671500627c21c1d28326057e0fc93d2
3-way merge drops line
User & Date: anonymous 2009-02-16 11:01:31
Changes

  1. 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>
    
  2. foundin changed to: "bc857ecd92"
  3. private_contact changed to: "6984f5ff2d3f66a87d3c6ddcf777c37b54e478f0"
  4. severity changed to: "Severe"
  5. status changed to: "Open"
  6. title changed to: "3-way merge drops line"
  7. type changed to: "Code_Defect"