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.
I had a module checked out of our CVS. On the very top level I did an 'Update'...many files had changed (about 12 I guess). This seemed to go ok until I tried to compile my code. Many of the files the 'Update' had changed had errors in them like - 'try' without 'catch' or 'finally' or placing comments inside parts of functions that sort of thing...many were just garbled. Anyway, if I change a file and save it and then do CVS - 'Revert Modifications' the file comes out of CVS as I would expect. By the way, the files the CVS - 'Update' changed did not have and local changes.
This issue seems to be a duplicate of #72948.
No not at all. In '72948' the update just didn't seem to do anything. It did not update at all. In this one, it tried to update the files but it failed. The files were all messed up and would no longer compile. This may connected to CVS 'Resolve Issues' as I am fairly certain that I had to use it after the 'Update' was complete. Keep in mind that at least 12 files were involved in this update and I had to resolve issues with at least 3 of them.
I guess server sent broken patches or you have modified the files concurrently with running the update. Is not it the case?
Well, I don't know about the server sending broken patches (how would I be able to tell?) but I know I definitely DID NOT modify the files during the update.
You can run the IDE with -j-DcvsClientLog=C:\tmp\cvs-protocol and then observe the cvs-protocol.in file content. Please attach it if you find a reprocase.
markjl this is the second "update" issue you reported. I guess that problem could be caused by your cvs server. What version do you use? Anyway closing as unreproducible.
We are using CVS Server v1.11.17 I must admit that I have not seen this sort of thing happen lately but I'm always scared now whenever I execute CVS 'Update...'
CVS Server v1.11.17 is very reliable, still it can panic from time to time.