CVS issue in 5.0.2 - compare versions not working
Hi I have encountered following error on two computers, two projects stored in different CVS repositories.
After setting up the CVS repository everything worked fine, but some time later I am unable to compare versions of source files.
I go to CVS history - see everything fine, but when i try to compare two different versions of the file I get the message: Cannot show differences, revision 1.11 does not exist in repository.
CVS output window shows:
The same happens when I try to compare current file with latest repository version, etc.
Funny thing that comparing works on different computer, using project files copied earlier from the 'currently broken' one.
The CVS output differs
I assume that it fails because of the './' part but have no IDEA why one of the computers uses './' and how to get rid of it.
Please sign in to leave a comment.
here is the stacktrace, but the source of error is passing incorrect path to CVS:
What exact version is your CVS server?
Tom
1. CVS 1.12.12 behind cvsd 1.0.7
2. obsolete 1.11 something
I created my project on computer A using server 1.
I copied the project files to computer B, to also use server 1. Later the problems started on computer A, on B there are no problems.
Computer B is also using server 2 for different project, and today error in this environment occured, so I thought it is rather IDEA issue and reported it.
Could you please attach CVS/Repository file from the directory project/my/package/path?
It happens to all files in those projects, for example web.xml file.
I have generated CVS history, then tried to compare two last releases - 1.7
and 1.6
CVS output
and the contents of file
c:\projects\listy\scripts\templates\CVS\Repository are
All CVS/Repository files in this project begin with ./listy
I have just checked another project, where diffs do work - and the content of
these files is just the project name, without './'
Fine!
Yet another question.
Was the project checked out using IDEA?
If it was please try to check it out (meybe not the whole project but some directory) with cvs logging(CVS->Global Settings->log cvs client/server output) enabled and attach the result.
Thanks!
Hi, this was a good question, I remeber something.
I think the projects in the environments that got broken were created from scratch and then "Imported into CVS" by IDEA.
The systems that do work - I have used IDEA to check out the code.
That might be the reason I have not noticed it earlier - I was working on machines different then the ones that created the project, also you do not create new CVS projects too often.