Bug 517278 - Disable Revert Commit menu item if failure is known a-priori
Summary: Disable Revert Commit menu item if failure is known a-priori
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 4.8   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-26 03:48 EDT by Andreas Sewe CLA
Modified: 2017-05-26 03:48 EDT (History)
0 users

See Also:


Attachments
Screenshot of Error Dialog (55.38 KB, image/png)
2017-05-26 03:48 EDT, Andreas Sewe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sewe CLA 2017-05-26 03:48:22 EDT
Created attachment 268580 [details]
Screenshot of Error Dialog

Just testing the latest Oxygen RC1 Java EPP package from [1].

I tried to revert the first commit in my history by selecting Revert Commit from the commit's context menu in the History view.

I was then greeted with the "An internal error has occurred" dialog (AFAICT, introduced in Bug 364097).

IMHO, it would be preferable to simply disable or maybe even hide the Revert Commit menu item if I select a commit with more or less than 1 parent (should IMO be doable with a core expression).

[1] <https://hudson.eclipse.org/packaging/job/oxygen.epp-tycho-build/268/artifact/org.eclipse.epp.packages/archive/>