Bug 426614 - Compare editor should have "Open Workspace Version" in editor on an old revision
Summary: Compare editor should have "Open Workspace Version" in editor on an old revision
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2014-01-24 14:24 EST by Markus Keller CLA
Modified: 2014-03-30 17:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2014-01-24 14:24:33 EST
The compare editor context menu should have a "Open Workspace Version" command in an editor on an old revision.

E.g. when I used "Compare with Version in Ancestor" on a file in a commit editor or in the History view, then both panes of the compare editor are non-editable, and there's no easy way to open the workspace version of the file.
Comment 1 Matthias Sohn CLA 2014-01-27 03:03:32 EST
In the staging view you can drag and drop files to the editor area in order to open the workspace version, we could do the same in the history view
Comment 2 Konrad Kügler CLA 2014-03-15 08:54:28 EDT
Opening the workspace version from the compare editor is quite helpful, especially because opening it at (approximately) the position one was at in the compare editor is not possible with e. g..the history view's file list.

My proposed implementation is at https://git.eclipse.org/r/23433/
Comment 3 Matthias Sohn CLA 2014-03-30 17:50:26 EDT
merged as df90f993af83abcfe818e595daf61dba08fdb4c6