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

Bug 359126

Summary: Discard Local Changes warning dialog should only be shown when selected resources or children are dirty
Product: [Technology] EGit Reporter: Carolyn MacLeod <carolynmacleod4>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen, robin
Version: 2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Carolyn MacLeod CLA 2011-09-27 14:48:03 EDT
1.1.0.200109151100-r

- select a project that has no changes
- context menu -> Replace With -> [anything]  (I chose Branch...)
- the Discard Local Changes dialog opens, warning that all local changes will be overwritten.

This dialog should only come up when the project is dirty.