RE: Caching problems

"Ojares Rami EINT" <[email protected]> Fri, 16 Jan 2004 18:37:18 +0200
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Thank you Martin for the answer.

By the way, I have not following netbeans (because I use jEdit).
I understand that javacvs is a sub project of netbeans and
lately you (Martin) have been telling about the future relations
of javacvs and other netbeans components. I did not quite understand
what was going on.

My concern is whether javacvs will maintain it's independence.
It has not been very separate (website & cvs hidden somewhere in
netbeans).

So I would like to know how independent is the planned future of javacvs.

- rami


>-----Original Message-----
>From: [email protected] [mailto:[email protected]] 
>Sent: Friday, January 16, 2004 6:22 PM
>To: [email protected]
>Subject: Re: [javacvs-dev] Caching problems
>
>
>Well, my impression is, that one connection should be used just for one
>command. This is why there is implemented a warning in the 
>library. This looks
>like a limitation of the cvs server that it needs an extra 
>connection for every
>command.
>
>It should not be possible to get the contents of deleted 
>files. But perhaps
>there is some staled information about these files from the 
>status command, so
>perhaps the server is confused.
>
>-Martin
>
>Ojares Rami EINT wrote:
>> 
>> Hi,
>> 
>> There seems to be some internal caching going on under the hood.
>> 
>> I want to do the following:
>> 
>> - find all the files that NEEDS_MERGE with status command
>> - Delete those files.
>> - Do a normal update
>> 
>> When I use the same client object to execute both of those
>> commands instead of doing a normal update for the deleted
>> files from server to local javacvs reports a conflict
>> as if the files were not deleted at all.
>> 
>> Javacvs behaves normally only if I use separate clients
>> that have separate connection objects.
>> 
>> Reusing the same AdminHandler does not have any effect
>> (which would be to me more understandable) but it seems
>> the contents of the deleted files seem to be cached/related
>> to the connection used.
>> 
>> Could someone point me where does the update get the contents
>> of the deleted file because I can not find it.
>> 
>> - rami ojares
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>