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.
Add All command process the sources directory by directory, which is slow. The reason for the current implementation was, that it's not desired to add all files that are under the added folder (we should skip backups, not-sharable files, etc.), but PVCS does not have any concept of ignored files. Therefore we could not use -z option to efficiently add all files at once. The current implementation is correct, but slow.
Scheduling for 4.1. It actually could be speed up, if we isolate files that are to be added and the rest into separate directories. This approach is more error-prone, but will hopefully be faster.
Fixed as proposed. The overall Add All (add + refresh rec.) seems to be faster by ~33%. The Add All itself (without refresh) is faster by more then 50%. /cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandTask.java,v <-- UserCommandTask.java new revision: 1.40; previous revision: 1.39 /cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/UserCommandTask.java,v <-- UserCommandTask.java new revision: 1.41; previous revision: 1.40 /cvs/vcsgeneric/src/org/netbeans/modules/vcs/profiles/commands/RecursiveFolderCommand.java,v <-- RecursiveFolderCommand.java new revision: 1.24; previous revision: 1.23 RCS file: /cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands/MoveFilesNotToAdd.java,v /cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands/MoveFilesNotToAdd.java,v <-- MoveFilesNotToAdd.java initial revision: 1.1 /cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs.xml,v <-- pvcs.xml new revision: 1.47; previous revision: 1.46