Bug 293319 - Improve conflict resolution tracking in compare editor
Summary: Improve conflict resolution tracking in compare editor
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 10:43 EDT by Michael Valenta CLA
Modified: 2019-11-20 14:52 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2009-10-26 10:43:09 EDT
A typical conflict resolution workflow in a compare editor is to copy all non-conflicting changes from left to right and then go through each conflict and resolve it. It would be nice if the compare editor supported this workflow better by:

1) providing a count of the number of conflicts in the file
2) allowing the user to visit the next conflict.
3) providing a UI gesture that would allow the user to mark a conflict as resolved. This would update the count of remaining conflicts.

With these capabilities, a user could simply cycle through each conflict ans would know when they are done when the conflict count reached 0.

There is already some support for this in the existing compare editor in the sense that if you perform a "copy change from left to right" on each change in the compare editor, the little square in the upper right of the editor turns from red to green. Implementing this enhancement could potentially leverage this existing functionality.
Comment 1 Geoffrey Clemm CLA 2009-10-26 11:20:26 EDT
This enhancement is very important for at least a couple of reasons:
- Currently, the merge tool produces a rather foreboding warning message whenever you select the "resolve as merged" operation.  In the other merge tools, no such warning is needed because they keep track of whether you have merged all the conflicts.
- The way in which you resolve a given conflict often depends on how you are going to resolve other conflicts in the file, and so it is very common to need to resolve the conflicts in some non-linear ordering.  In the ClearCase and RSA merge tools, this is very easy, because you indicate when you have resolved a given conflict, but in the Eclipse merge tool, it is very hard to keep track of whether you have already resolved a given conflict.
Comment 2 Michael Valenta CLA 2009-10-26 11:31:56 EDT
What Geoff is referring to in comment 1 is a button that our SCM client adds to the Compare editor to make it easier for users to mark a file as merged when they are done resolving conflicts. To make what he is asking for possible, we would also need compare API to access the number of remaining unresolved conflicts. With this API, we could be very explicit in our warning message (e.g. "You have 3 unresolved conflicts remaining in this file. Are you sure you want to mark the file as merged?").
Comment 3 Lars Vogel CLA 2019-11-14 03:49:25 EST
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.
Comment 4 Geoffrey Clemm CLA 2019-11-14 05:06:40 EST
The problem still exists, and it would be great to get a fix.   Experienced users can workaround the problem, but new users continue to be confused and make errors because of it.

I couldn't see a way to remove the "stalebug" tag ... perhaps someone could do it for me, or point out how I would do so?  (I'm sure it is something obvious :-).
Comment 5 Paul Pazderski CLA 2019-11-18 04:19:19 EST
(In reply to Geoffrey Clemm from comment #4)
> I couldn't see a way to remove the "stalebug" tag ... perhaps someone could
> do it for me, or point out how I would do so?  (I'm sure it is something
> obvious :-).

Just remove "stalebug" from the text field and "Save changes". But I don't know if you can do it if you are not the bug owner. I remove the tag.
Comment 6 Geoffrey Clemm CLA 2019-11-18 08:18:46 EST
Thanks, Paul.  It does appear that only the bug owner (or someone with privileges greater than mine) can remove that tag.