0

I have a subversion repository that has about 45000 revisions. I am trying to convert it to git but it keeps failing.

I have tried git svn clone, subgit, svn2git and the atlassian provided svn-migration-scripts.jar

git svn clone and the atlassian provide jar usage result in similar errors - perl.exe.dump

subgit gives me an out of memory error

svn2git gives a different error

I am not sure if I am doing something wrong/ if I am not allocating enough resources for the migrtation (memory/CPU etc...). Or, if there is something wrong with my SVN repo that is causing these to fails.

Any suggestions/ ideas on how to troubleshoot these issues? Also, does 45000 revisions make it a large repository?

Thanks

shikarishambu
  • 2,219
  • 6
  • 35
  • 57
  • What specs does your machine have? – Sumner Evans Mar 14 '14 at 03:36
  • I have migrated large SVN repositories using `git svn`. It took a week or so (slow network), had to restart many times. And not a large machine. – vonbrand Mar 14 '14 at 07:47
  • I have tried it on a Windows 7 desktop with 8GB RAM. 2.3GHz Quad Core CPU. I have also tried it on a Linux (ubuntu precise 32 bit) VM that has about 1.5GB RAM (hosted on the Windows Desktop) – shikarishambu Mar 14 '14 at 15:10
  • 1
    @vonbrand what do you mean by "restart many times." did you break the migration into chunks. Or, did you have to redo the same command multiple times. – shikarishambu Mar 14 '14 at 15:12
  • @vonbrand ran the same command multiple times. I finally got it working with svn2git - after allocating more memory to my Ubuntu machine – shikarishambu Apr 03 '14 at 16:34
  • I had to restart the command often, it failed due to timeouts. – vonbrand Apr 03 '14 at 23:30

1 Answers1

0

I can add a suggestion for SubGit.

Run "subgit configure" then add to SubGit config file (depending on your case it will be at "subgit/config" or "conf/subgit.conf") the following option:

[translate]
eols = false

Then run "subgit install" for the repository. I hope this will help.

Dmitry Pavlenko
  • 8,530
  • 3
  • 30
  • 38