When editing both lines surrounding a conflict marker, we were computing the up context incorrectly, by forgetting that the lines immediately before a conflict marker weren't necessarily the first ones to be added to the current patch.
4VNRGSPU57GYEUCB3CZHNMBCWSGJHQHO6HIWY6QLKK6O4HVP4CVAC conflict_contexts.up.insert(conflict, ChangePosition(len_bytes.into()));
debug!("len_bytes {:?}", len_bytes);conflict_contexts.up.insert(conflict,ChangePosition((current_contents_len + len_bytes).into()),);