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.
System Info: Product Version = NetBeans IDE Dev (Build 200511071900) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05; Sun Microsystems Inc.; d:\Java\jdk1.5.0_05\jre Steps: 1. Check out sources, open project. 2. Create new package "aa" in "src". Create a Java Class there. Commit it. 3. Create new package "bb" in "src". Create a Java Class there. Commit it. 4. Modify and save file in package "aa" and the same for package "bb". 5. Select project root and invoke "CVS | Export <project name> Diff Patch" main menu action. 6. Now on project root invoke "CVS | Revert Modifications" action. 7. Switch to "Files" view and invoke "Tools | Apply Diff Patch" popup menu action. Dialog is shown up with infomation that this patch can't be applied. It has to be applied on "src" package. This can be confusing. There should be opportunity of how to apply patch on the same context it has been invoked.
Patch is now relative to the selected context whenever possible. /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/diff/ExportDiffAction.java,v <-- ExportDiffAction.java new revision: 1.28; previous revision: 1.27
Verified. NetBeans IDE Dev (Build 200511131900)