| Summary: | [Sync View][Apply Patch] Patched project receives 'unmatched' decoration after merge | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Tomasz Zarna <tomasz.zarna> |
| Component: | Team | Assignee: | Platform Team Inbox <platform-team-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Tomasz Zarna <tomasz.zarna> |
| Severity: | normal | ||
| Priority: | P3 | CC: | Szymon.Brandys |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
| Bug Depends on: | |||
| Bug Blocks: | 300345 | ||
|
Description
Tomasz Zarna
This is caused by the fact that we only hide merged files (setting them as excluded when merged and marking as manually merged when... manually merged). If these files contain conflicts, and they usually do, the enclosing project will get the "unmatched" decoration as he consults all hunks in all files looking for a one that doesn't match. This is how it works in the Apply Patch wizards, that's a legacy we have to deal with. A way to fix it would be ignoring non-matching hunks from elements that were excluded or marked as merged. This could be done in org.eclipse.team.internal.ui.synchronize.patch.PatchWorkbenchAdapter.getImageDescriptor(Object)... The same thing applies to files when: 1. A file has one matched and one unmatched hunk 2. 'Merge' the file 3. Fix the conflict for the unmatched hunk => The file is still decorated with 'unmatched' overlay Although I'm deferring the bug, I still think is something that have to be fixed in 3.6. No plan to investigate it further at this point. Setting the target to match the reality. Sorry I had no time to look at this. Given the fact this is not a severe issue I'm resetting the assignee and target milestone. Feel free to comment on the bug if this is not acceptable for you. Currently, this bug is not on my task list for the nearest future. 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. |