Mark Phippard <markp...@gmail.com> writes: > 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?
There is a private function svn_wc__db_drop_root, I think that does what you want. What do you want the public API to look like? -- uberSVN: Apache Subversion Made Easy http://www.uberSVN.com