Input output error when checking out working copy for SVN

I had some troubles switching between different branches of my SVN repository. So I had the idea to delete the working copy and check out a new working copy. I’m using XVersion on macOS Sequoia.

But I’ve now tried a couple of times and every time at some point the checkout fails with an error message:
Screenshot 2024-11-16 at 10.18.45

I tried to goggle the error and found a recommendation to do a cleanup of the working copy as is and then use update. But this doesn’t work either. How do I get a good working copy out of the SVN?