Re: Caching problems
Martin Entlicher <[email protected]> Fri, 16 Jan 2004 17:21:35 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
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]