| Summary: | [Sync view][Apply patch] No changes found when applying patch with a conflict from clipboard in synchronize view | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Nicolas Bros <nicolas.bros> | ||||
| Component: | Team | Assignee: | Platform Team Inbox <platform-team-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | malgorzata.tomczyk, tomasz.zarna | ||||
| Version: | 3.7.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Nicolas Bros
Gosia, could you please look at it? Check first if a similar problem hasn't been already reported (hint: "[Sync View][Apply Patch]" in summary). This is very easy to reproduce, but I'm not sure what could we do about it. Just create a patch, make a conflicting change and try to apply the patch in synchronize view. When you open a file in Compare Editor you have the original file on the left and file with changes applied on the right. But when there are conflicts we can't apply conflicting changes. If we can't apply them than we can't show them on the right side. Your patch contained all changes conflicted that's why no changes where displayed. Analogically if you go to the normal Apply Patch wizard you'll see on the differences page that if you click on the conflicting file, the conflicting changes aren't displayed. You can select individual conflicting changes and they are displayed below but they are not applied to the file. Displaying conflicts in the compare editor like in synchronization with CVS would be ideal, but this is only possible in tree way compares, but this would be only possible if we have an original file from which the patch was created. Patches don't provide it. Maybe displaying the individual changes like in Apply Patch wizard would give you a hint that besides applying non-conflicting changes you need to also apply manually/discard conflicting changes. (In reply to comment #2) > Maybe displaying the individual changes like in Apply Patch wizard would give > you a hint that besides applying non-conflicting changes you need to also apply > manually/discard conflicting changes. This can be done: in synchronize toolbar the third menu handles Models. If you expand the menu you'll see that the default model is "All Models". Despite the name it doesn't display patch contents. Switch it to "Patch Contents" and you'll see the conflicting changes that could not be applied to the conflicting file. But I understand that not being able to see it by default is misleading. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. |