in reply to SVN::Client -- deleting created working copy results in 'cannot remove directory'

Any ideas on how to release this working copy properly so it can be deleted between tests?

Have you tried calling the cleanup() method first?

$client->cleanup($dir, $pool); Recursively cleanup a working copy directory, $dir, finishing any incomplete operations, removing lockfiles, etc.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: SVN::Client -- deleting created working copy results in 'cannot remove directory'
  • Download Code

Replies are listed 'Best First'.
Re^2: SVN::Client -- deleting created working copy results in 'cannot remove directory'
by tj_thompson (Monk) on Oct 06, 2016 at 21:13 UTC
    As usual, it's something easy that I overlooked! cleanup() resolves the issue. Thank you very much for the insight, that was driving me nuts :)