Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354931

Summary: Replace With History not considering model providers.
Product: [Eclipse Project] Platform Reporter: Laurent Goubet <laurent.goubet>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Laurent Goubet CLA 2011-08-17 05:46:54 EDT
Right-clicking a resource in the workspace and selecting "Replace With > History..." pops up a dialog displaying all distinct revision of that file. A double-click on any of these revisions triggers a comparison and displays the changes between the current version of the file and the selected revision of that file. This is triggered through org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithRevisionAction.

Problem is : this action does not consider logical models for the comparison. If the file is part of a model (as returned by the ModelProvider), its whole model should be taken into account for both the comparison _and_ the replace. Replacing one of the file that is part of a logical model without touching the others corrupts the whole model.
Comment 1 Lars Vogel CLA 2019-11-14 03:37:41 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.