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.
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.
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.
This was fixed on Wednesday in c8dddf58cfab.