3242 weird cvs behavior...
I am having some strange cvs checkin behavior with build #3242. I modified one file and tried to checkin the project. The project has some other things that get built during a build but should not be added to cvs. I selected the one file that needs to be checked in and hit commit. It took more than 2 mins (smartcvs took less than 5 secs from the same machine for the same file when I did the same thing on purpose again) and it created bunch of Java thread windows on my task panel. Earlier when I had tried checkin in a project with 2 files modified, I got 12 Java thread windows.
Not sure what is going on. I am using Fedora Core 3.
请先登录再写评论。
Could you please attach some thread dump?
"Vinay Moharil" <vmohar98@yahoo.com> wrote in message
news:9693150.1110225021036.JavaMail.itn@is.intellij.net...
>I am having some strange cvs checkin behavior with build #3242. I modified
>one file and tried to checkin the project. The project has some other
>things that get built during a build but should not be added to cvs. I
>selected the one file that needs to be checked in and hit commit. It took
>more than 2 mins (smartcvs took less than 5 secs from the same machine for
>the same file when I did the same thing on purpose again) and it created
>bunch of Java thread windows on my task panel. Earlier when I had tried
>checkin in a project with 2 files modified, I got 12 Java thread windows.
>
Vinay Moharil wrote:
Yep, CVS is behaving quite strange for me as well. When doing a commit
the first time after IDEA has been started, it's "Analyzing Changes" for
the whole freaking project, just to commit one single file. Odd.
The next thing is that it's unable to do diffs with certain files. The diff
action aborts with the error message
"Error: cvs : Absolute module reference invalid:
`/home/cvsroot/project/build.xml'"
However, the diff succeeds when done from the History panel as "Compare with
local", so it's not totally broken. It also works fine for files that are in
directories that are below the project dir.
I'm not sure if it's a bug or maybe a CVS(-server) problem; an official
statement would be appreciated.
Sascha
PS: The thing I love about #3245 is that there is a history of previous
commit messages now. Yay!! :-D
Well, integration has to process the whole project to understand that there
is only one file to commit. BTW you can use Commit File action in such a
case.
>
What cvs client/server are you using?
"Sascha Weinreuter" <sascha.weinreuter@NOSPAM-cit.de> wrote in message
news:d0mumn$5cq$1@is.intellij.net...
>> I am having some strange cvs checkin behavior with build #3242.
>
>
>
>
>
>
>
Olesya Smirnova wrote:
>>Yep, CVS is behaving quite strange for me as well. When doing a commit
>>the first time after IDEA has been started, it's "Analyzing Changes" for
>>the whole freaking project, just to commit one single file. Odd.
This is exactly what I did, sorry that I wasn't clear enough at first. I just
verified it again, though it seemed as if the "Analyzing Changes" was done
/after/ the commit (I saw the filename turning from blue to black before the
progress dialog popped up). It has never done that in previous builds.
>>The next thing is that it's unable to do diffs with certain files. The
>>diff
>>action aborts with the error message
>>
>>"Error: cvs : Absolute module reference invalid:
>>`/home/cvsroot/project/build.xml'"
The CVS server is version "1.11.2" running on "Red Hat Linux release 9". The only
CVS client that touched this directory since a long time is IDEA's built-in one.
Note that this did work until a few builds back and also works with files that
are in directories below the module's content root.
Sascha
It seems it's FileView refreshing. Was it open?
"Sascha Weinreuter" <sascha.weinreuter@NOSPAM-cit.de> wrote in message
news:d0p7as$ag0$1@is.intellij.net...
>>>Yep, CVS is behaving quite strange for me as well. When doing a commit
>>>the first time after IDEA has been started, it's "Analyzing Changes" for
>>>the whole freaking project, just to commit one single file. Odd.
>>
>>
>> Well, integration has to process the whole project to understand that
>> there is only one file to commit. BTW you can use Commit File action in
>> such a case.
>
>
>>>The next thing is that it's unable to do diffs with certain files. The
>>>diff
>>>action aborts with the error message
>>>
>>>"Error: cvs : Absolute module reference invalid:
>>>`/home/cvsroot/project/build.xml'"
>>
>>
>> What cvs client/server are you using?
>
>
>
Olesya Smirnova wrote:
No, it was not. I saw the color change in the project view.
I have some news about the diff problem. I checked the CVS files
for a directory that works and for one that doesn't. There's a
difference in the "Repository" files: The one that fails says
"/home/cvsroot/project/xxxxx", the other one "project/yyyyy".
The odd thing is that the files that seem to be broken have a last
modification date going back to 2002, so I definitely think that
there has been a change in IDEA that chokes on that. I don't know
if the absolute repository path is invalid, but other CVS clients
(Tortoise, WinCVS, SmartCVS) have no problem with it.
Sascha
I don't seem to having this problem anymore - but I have been mostly working on rather small projects of late.
The only thing I did was to turn on the cvs print - may be printing the output fixed it :)
i'm getting the same problem ... is the fix a global search and replace on Repository files?
The invalid module reference bug has ALWAYS existed. It's been driving me mad for months.
I too am getting this running IDEA 5.0.1 on Mac OS X 10.4.2 -- but do not see this problem on Windows XP. It too is driving me nuts.
Forgot to mention -- turned on CVS logging and the command line that it passes to cvs is
. cvs checkout -l -p -r 1.15 /seq/softdev/genomecvs/sequence/common/css/sqstyle3.css
cvs : Absolute module reference invalid: `/seq/softdev/genomecvs/sequence/common/css/sqstyle3.css'
Command finished ( 1 )
It shoud be
cvs checkout -l -p -r 1.15 sequence/common/css/sqstyle3.css