Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 179953 - Ask for confirmation when reverting in Diff top component
Ask for confirmation when reverting in Diff top component
Status: NEW
Product: utilities
Classification: Unclassified
Component: Diff
All All
: P3 (vote)
Assigned To: Ondrej Vrabec
Depends on:
  Show dependency treegraph
Reported: 2010-01-28 04:35 UTC by matteodg
Modified: 2014-06-05 12:15 UTC (History)
0 users

See Also:


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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo