Re: Forcing the SQLite db to close?
On 27.07.2011 20:49, Mark Phippard wrote:
> Noticed a problem in Eclipse. When someone wants to remove a project
> from Eclipse, the .svn folder cannot be deleted because the wc.db file
> is in use. This is because, unlike the command line, when we are using
> JavaHL the process does not end until someone closes Eclipse.
> Is there an API we could add to JavaHL or something to tell SVN to close
> the DB handles so that the file is not locked?
> Bert/Stefan, how are you dealing with this problem in your GUI tools? I
> know you have access to more API than we have for JavaH, so maybe there
> is already an API and it just needs to be exposed?
All you need to do is to close the wc context:
and that will close the db as well.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2011-07-27 21:51:32 CEST
This is an archived mail posted to the Subversion Dev