I have a very large SVN repository (nearly 6000 revisions) which I need to migrate to Git. The repository is hosted on an internal server. I want to migrate all the history, tags and versions to Git and have branches etc in Git format.
So far, I have TortoiseSVN installed on my machine and have been trying to use git svn clone, however, a lot of the folders are too large and I get chunk size errors. At the same time, some files have illegal characters in their file path and so are skipped during migration.
I have also attempted to checkout a working copy into my local machine using TortoiseSVN and then try and migrate it by setting up a local svnserve (set up as a Windows service), but, I can never make it work to be able to reach the files using svn://localhost/... I followed a guide (https://subversion.open.collab.net/articles/svnserve-service.htm) to set it up as a service and I can reach e.g. svn://localhost/dev, but, when I checkout files into this folder via Tortoise, it doesn't see them via svn://localhost/dev/<sub-folder> Obviously I'm doing something wrong, but, I'm not sure what.
The structure is as follows:
repository (top level)
- folder 1
- sub-folder 1
- sub-folder 2
- ...
- folder 2
- sub-folder 1
- ...
- ...
Lastly, I have tried to use svn2git, but, I get errors in this case too.
What is the best way to do the migration and/or what am I doing wrong? Any help is appreciated!