On Mon, 22 Mar 1999 11:14:53 -0500 (EST), Tim Endres wrote: >On Mon, Mar 22 1999, Andreas Huber wrote: >> I'm trying to get jCVS 4.7.5 to run on OS/2. When I try to open a >> project, I get an error message saying "CVSApplet.performOpen: Error >> could not open repository 'i:/work/ql'.". This is due to >> CVSProject.openProject() assuming that there is a correspondence >> between the module name and the repository. I don't know if this is >> supposed to work on other platforms because the comments in the source >> suggest that some functionality is missing. > >This is a known and existing bug. > >> 4.7.2 and earlier just stripped off one directory level from the local >> root directory, which seemed OK since the directory stored in >> projects.txt is always one level below the directory specified as the >> working directory in the checkout dialog. Why was it necessary to >> change this? > >This code is very, very brittle. Anytime that I change any small item, >it affects others. So.... rewrite. Do you have an idea what would break if I revert this piece of code back to 4.7.2? On a different note: Could you please take a look at the attached patches (against 4.7.5) and maybe include one or another in your next release. These are mostly compatibility patches, but most importantly, the last patch in CVSImportDialog.diff fixes a violation of the client/server protocol. Andreas
Attachment:
CVSClient.diff
Description: Binary data
Attachment:
CVSImportDialog.diff
Description: Binary data
Attachment:
CVSProject.diff
Description: Binary data