This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 179953 - Ask for confirmation when reverting in Diff top component
Summary: Ask for confirmation when reverting in Diff top component
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 04:35 UTC by matteodg
Modified: 2014-06-05 12:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matteodg 2010-01-28 04:35:35 UTC
In the Diff top component there is an arrow in the top of the window that allows you to revert all changes and port all difference in left pane to right pane, to make them the same.

Is it possible to add a confirmation when pressing that arrow? this because when I did it, I could not undo that operation! I lost all changes...
Comment 1 Ondrej Vrabec 2010-01-28 04:53:33 UTC
1) Undo action should be enabled in the diff view. So if you make any mistake, the undo action should revert those changes
2) In 6.8, the file is not automatically saved when you close the diff. So even if you accidentally click on the arrow and close the view, you will be asked for confirmation
3) If previous hints fail, you can always use Versioning (or Team in 6.8+)/Local history to go back to previous state
Comment 2 Ondrej Vrabec 2010-01-28 04:55:58 UTC
add 2) Sorry, this applies for 6.9 and later