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.
When I add files from outside NetBeans to a project dir, "Revert Modifications" does not appear to remove those files. This makes it very difficult to run test cases or do builds that generate extra files, since NetBeans will not remove those files if I choose to revert the project.
WAD and also behaves the same way as the commenad line. Otherwise - we agree that it could be a good thing to have an option to revert also new unversioned files from the reverted working copy -> changing to enhancement.
I feel this is a must for SCM support. I will provide my use case to help better illustrate the need. I work on the JRuby project. One of our test cases uses Ruby tools to install extensions. Those extensions get installed under the JRuby lib directory, as they do with a stock Ruby install. Normally, I can revert changes under other SVN clients and IDEs and have all those installed libraries wiped out. Unfortunately under NetBeans I'm forced to delete the entire project and re-checkout. This greatly slows the time between my day-to-day development iterations, since the full SVN re-checkout takes a while.
It's also worth noting that all other clients also eliminate new files added under "ignored" directories. The general logic is that reverting should replace everything in your local environment with exactly what comes out when doing a fresh checkout. In Eclipse it's referred to as "Replace With -> Latest from Repository"
fixed /cvs/subversion/main/src/org/netbeans/modules/subversion/ui/update/RevertModificationsPanel.form,v <-- RevertModificationsPanel.form new revision: 1.15; previous revision: 1.14 done Checking in ui/update/RevertModificationsAction.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/ui/update/RevertModificationsAction.java,v <-- RevertModificationsAction.java new revision: 1.21; previous revision: 1.20 done Checking in ui/update/RevertModificationsPanel.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/ui/update/RevertModificationsPanel.java,v <-- RevertModificationsPanel.java new revision: 1.16; previous revision: 1.15 done Checking in ui/update/RevertModifications.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/ui/update/RevertModifications.java,v <-- RevertModifications.java new revision: 1.12; previous revision: 1.11 done Checking in FileStatusCache.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/FileStatusCache.java,v <-- FileStatusCache.java new revision: 1.53; previous revision: 1.52 done Checking in client/SvnClientInvocationHandler.java; /cvs/subversion/main/src/org/netbeans/modules/subversion/client/SvnClientInvocationHandler.java,v <-- SvnClientInvocationHandler.java new revision: 1.40; previous revision: 1.39
Reopened. Even when the "Remove newly added Files and Folders" checkbox is checked, revert operation doesn't remove them.
fixed http://subversion.netbeans.org/source/browse/subversion/main/src/org/netbeans/modules/subversion/ui/update/RevertModificationsAction.java?r1=1.23&r2=1.24
*** Issue 97849 has been marked as a duplicate of this issue. ***