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.
latest q-build 200508161800 Update command executed on project/folder with localy modified files (note: on file itself it recognizes changes and doesn't overwrite it) it fetches fresh repository copies and overwrites localy changed files, which inflicts huge data loss for user.
Library does not send Questionable request for new directories.
This happens if there are modified files in a directory and that directory (or one of its parent directories) is not listed in CVS/Entries. Command-line CVS fails with "cvs.exe update: move away <some file>; it is in the way" conflict message.
Bug fixed by enhancing the CVS library. It now supports Created and Update-existing server responses. Without them, we were unable to distinguish between files that were sent as being New or Modified. Verification steps: have some project checked out, modify some file (at least 2 directories under project root), remove file's parent directory from CVS/Entries and try to Update the project. Error message should come up saying that a file should be created but it already exists. /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ExecutorSupport.java,v <-- ExecutorSupport.java new revision: 1.13; previous revision: 1.12 /shared/data/ccvs/repository/javacvs/libsrc/org/netbeans/lib/cvsclient/request/ValidResponsesRequest.java,v <-- ValidResponsesRequest.java new revision: 1.19; previous revision: 1.18 /shared/data/ccvs/repository/javacvs/libsrc/org/netbeans/lib/cvsclient/response/CreatedResponse.java,v <-- CreatedResponse.java initial revision: 1.1 /shared/data/ccvs/repository/javacvs/libsrc/org/netbeans/lib/cvsclient/response/UpdatedResponse.java,v <-- UpdatedResponse.java new revision: 1.33; previous revision: 1.32 /shared/data/ccvs/repository/javacvs/libsrc/org/netbeans/lib/cvsclient/response/ResponseFactory.java,v <-- ResponseFactory.java new revision: 1.26; previous revision: 1.25 /shared/data/ccvs/repository/javacvs/libsrc/org/netbeans/lib/cvsclient/command/BasicCommand.java,v <-- BasicCommand.java new revision: 1.59; previous revision: 1.58
Verified with NetBeans IDE Dev (Build 200508181800).