I ran into an issue with TortoiseSVN earlier this week, where the regular cleanup didn't finish correctly anymore, so I had to resort to other methods. Searching for a solution I came up with several possible solutions.
Found at StackOverflow:
However, this morning the above solution also didn't work and I resorted to the following steps (a similar solution found at SO):
- Delete the .svn directory for your working copy.
- Start a new checkout in a new, temporary directory.
- Cancel the checkout (we don't want to wait for everything to get pulled down).
- Run a cleanup on this cancelled checkout.
- Now we have a new .svn directory with a clean database (although no/few files)
- Copy this .svn into your old, corrupted working directory.
- Run svn update and it should bring your new partial .svn directory up to speed with your old working directory.
However, this morning the above solution also didn't work and I resorted to the following steps (a similar solution found at SO):
- Move the affected subdirectory out of the working copy. Move it somewhere else so it becomes invisible to SVN
- SVN cleanup at the root
- SVN update, which will recreate a clean subdirectory, with all the correct permissions.
- Manually merge any changes to the subdirectory's files (copy the files affected) from the previously moved version. Do NOT copy back in any of the .svn control area.
The first part worked for me. Thanks!
ReplyDeleteAwesome. Thankyou, you saved my time to create a new pull.
ReplyDeleteAwesome!
Delete