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 127270 - no confimation dialog before rollback
Summary: no confimation dialog before rollback
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 10:05 UTC by Tomas Stupka
Modified: 2008-02-22 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2008-02-13 10:05:40 UTC
i suggest there should be a kind of confirmation dialog when the user invokes rollback. 
If possible then also containing some info describing the to be rolled back transaction - changeset, message, ...

my case was, that i was up to revert a changed file and i _accidently_ clicked on the the 'rollback' item instead of
'revert modifications' (they are positioned near to each other). The main problem was that i already had the same files
changed which got rolled back in the repo and it took me some time to reconstruct the lost commit and to get my local
files back to their previous state -> defect p2 in the manner of critical usability problem.
Comment 1 John Rice 2008-02-13 11:17:09 UTC
We can put up a confirmation dialog, but we cannot get at the information on which type of transaction will be rolled
back. We'd need to do a lot of work to maintain an internal log of what we have just done and then on rollback figure
out if this or a previous hg transaction will be undone. This should be a query flag on rollback but its not available.

Proposal just put up a warning dialog that the last transaction (commit, push/ pull ...) will be undone.
Comment 2 Padraig Obriain 2008-02-22 13:50:45 UTC
This was fixed on Wednesday in c8dddf58cfab.