We have huge SVN repository with multiple projects and we need to move one of them to another SVN repository.
The straight forward way to do it (dump database by svnadmin dump, filter it by svndumpfilter and reload it to the new repository does not work because the repository is too big (dump file is about 500GB) and svndumpfilter and other similar programs never end.
I used snvsync to copy the specific project to the new repository. It works fine except 2 points:
- I read that repository populated by svnsync is intended to be read-only. I tried to commit changes to this repository (after I removed the hook that prevents me from doing so) and it seems to work. Still, I'm not sure it will not cause troubles in the future.
The final folder structure I got in the new repository is:
/repos/trunk/projectA/
When I try to branch (copy) projectA to /repos/branches/projectA I get an error: "Repository moved permanently to http:/host/repos/; please relocate"
Any attempt to create folder on the same level as trunk produces the same error. In the end I want to get to the "strandard" folder sturucture like:
/repos/projectA/trunk
/repos/projectA/branches
/repos/projectA/tags
but did not find a way to overcome the error above.