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.
NB4.1(200503031900), JDK1.5.0_03(ea) It seems like directories hierarchy displayed in CVS status tree is wrong and it causes failure of diffing some files. Look at attached screenshot and compare hierarchy of files in CVS status tree and Files view - it's different, so if I invoke View Diff button on MeasureActions.java file -> Graphical diff failed (you can find cvs output on screenshot in output tab). It's regression, some time ago it worked fine.
Created attachment 20684 [details] Screenshot of differencies between CVS status tree and Files view
*** Issue 55959 has been marked as a duplicate of this issue. ***
If status is invoked on versioned directory (the root of the directory), there is something like this. (see attached picture - status.png)
Created attachment 20688 [details] strange file
This does not seem to be P1. However, I've reproduced it and it happens only on the root of the VCS FS.
The standard and error output are merged in a wrong way!!! It looks like the error redirection functionality of ProcessBuilder is not yet ready for production use! It causes problems on Windows (viz issue #55594) and now even on Linux! The use of ProcessBuilder seems to be a big mistake, because it's not reliable at all and cause strange errors! We need to remove the ProcessBuilder usage (it's a pity, initial tests provided good results and it looks like there is no way to reliably verify it's functionality!!). :-(((( (sorry for a lot of exclamation marks, I'm a bit upset....)
Created attachment 20695 [details] The output from "cvs status" that demonstrates badly merged streams.
Well, this is also a fault of streams handling from the JavaCVS library. The streams can be mixed there in random order. We got this behavior anyway from Runtime.exec(), therefore there was no need to make it better. Now we need a more reliable solution.
Fixed for built-in client: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/JavaCvsCommand.java,v <-- JavaCvsCommand.java new revision: 1.12; previous revision: 1.11 For command-line client and :local: connection it was fixed as a part of issue #55594.
verified in NB4.1(200503170655)