[cvsnt] Re: Error committing multiple files into CVSNT

J. Ryan Earl ryan at dynaconnections.com
Thu Oct 13 00:04:35 BST 2005


Tony Hoyle wrote:

> J. Ryan Earl wrote:
>
>> In our CVS installation, people are having problems committing 
>> multiple files.  Sometimes it'll let the first file commit, commonly 
>> it won't let any commit.  Usually the server gives no error response 
>> however I finally got an error back from the server:
>
>
> It's not that unusual to commit multiple files - TortoiseCVS works the 
> same way (although most people commit entire directories).
>
>>   Error: Unknown response received from cvs server: cvsnt: 
>> rcs.cpp:4893: char* RCS_addbranch(RCSNode*, const char*): Assertion 
>> `!fail' failed.
>> ***
>
>
> It's trying to create a branch (and failing, but that's ancient 
> (pre-cvsnt) code and I'm not sure why it would fail) - I suspect the 
> commit isn't the only thing that's happening there..  a commit won't 
> create a branch.

That is weird.  It shouldn't be making a new branch.

>
> Is there any way you can get what is being sent to the server when 
> that happens?  It's not repeatable using a standard client - but a 
> standard client could not parse the command as given anyway as it's 
> illegal. 

That was captured in Eclipse which is what all our developers use to 
manage their CVS projects...and develope/debug for that matter.  I'm not 
sure how Eclipse handles CVS interaction, I think it uses its own 
internal code (ie doesn't exec an external CVS client) but I'm not 
sure.  Normally the server returns no error code on these errors, this 
was the first and only time I was able to get an error.

I will attempt to see what is being sent to the server.  Would a tcpdump 
of all the packets going to port 2401 on the CVSNT server be sufficient?

Thanks,

J. Ryan Earl
Systems/Network Engineer
dynaConnections Corp
512.306.9898



More information about the cvsnt mailing list