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.
Product Version: NetBeans IDE Dev (Build 200801220000) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ have project with Mercurial versioning do some changes there and try to export diff invoke file chooser and select some file press ok and do export Selected file is overwritten without warning. User should be warmed about this.
Why? When using Apply Diff Patch with CVS the user is not warned. The user can revert the changes if they are not what he wanted.
I think, you see it differently When you want to export diff, you can select some file via file browser(Could be jpeg,txt,doc etc.). When button "export" is pressed, then selected file is overwritten without any warnings. User cannot "rollback" this action because he is not working in a scope of version system. Therefore user should be informed about it.
Sorry, I did not read your description carefully enough and misunderstood. I think I understand now what you are requesting.
Created attachment 55473 [details] proposed patch
changeset: 64974:abff49222798 tag: tip user: padraigob@netbeans.org date: Tue Jan 29 08:44:15 2008 +0000 summary: Issue 125786: Warn user before ovewrwriting file when doing Export Diff Change committed.
verified on Product Version: NetBeans IDE Dev (Build 200802050005) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)