{"thread":{"id":"22473","subject":"Speed of conversion from Subversion repository to Git","startedAt":"2010-02-01T18:05:19Z","lastAt":"2010-02-11T17:10:50Z","messageCount":4,"participants":["Markus Elfring","Jacob Helwig"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"133273","messageId":"4B6717DF.8020004@web.de","threadId":"22473","inReplyTo":null,"subject":"Speed of conversion from Subversion repository to Git","fromName":"Markus Elfring","fromEmail":"markus.elfring@web.de","sentAt":"2010-02-01T18:05:19Z","receivedAt":"2010-02-01T18:05:19Z","isPatch":false,"sender":{"key":"markus.elfring@web.de","avatar":null},"body":"Hello,\n\nI am trying to convert the YaST Subversion repository into a Git variant on my\nsystem. Unfortunately, a command like \"svn2git\nhttp://svn.opensuse.org/svn/yast/\" does not finish this attempt after 1,5 days\n(> 715:13.24 CPU time) here. I would appreciate suggestions for improvements of\nthe execution speed.\n(Renicing of the process \"git-svn\" does not help to increase its processor\nutilisation in noticeable ways.)\n\nRegards,\nMarkus\n"},{"id":"133277","messageId":"8c9a061002011017l6127dd22na1930481c7b59d4@mail.gmail.com","threadId":"22473","inReplyTo":"4B6717DF.8020004@web.de","subject":"Re: Speed of conversion from Subversion repository to Git","fromName":"Jacob Helwig","fromEmail":"jacob.helwig@gmail.com","sentAt":"2010-02-01T18:17:07Z","receivedAt":"2010-02-01T18:17:07Z","isPatch":false,"sender":{"key":"jacob.helwig@gmail.com","avatar":"https://avatars.githubusercontent.com/u/14557?v=4"},"body":"On Mon, Feb 1, 2010 at 10:05, Markus Elfring <Markus.Elfring@web.de> wrote:\n> Hello,\n>\n> I am trying to convert the YaST Subversion repository into a Git variant on my\n> system. Unfortunately, a command like \"svn2git\n> http://svn.opensuse.org/svn/yast/\" does not finish this attempt after 1,5 days\n> (> 715:13.24 CPU time) here. I would appreciate suggestions for improvements of\n> the execution speed.\n> (Renicing of the process \"git-svn\" does not help to increase its processor\n> utilisation in noticeable ways.)\n>\n> Regards,\n> Markus\n>\n\nWe're in the process of converting to Git at work, and I've found that\nsvn-all-fast-export was the best option for us.  git-svn's behavior of\na branch's entire history every time it found a new branch (even\nthough it has already seen 3/4 of the revisions involved) caused it to\nbe far too slow for our needs.  Admittedly, this was ~1 year ago that\nI tried git-svn to do a test conversion, and things might have\nimproved since then.\n\nsvn-all-fast-export does require access to the raw repository, instead\nof just (http|svn|svn+ssh):// access, but it does allow you to split\nout one SVN \"repository\" into multiple Git repositories in one go.\n\n-Jacob\n"},{"id":"133348","messageId":"4B680A83.80200@web.de","threadId":"22473","inReplyTo":"4B6717DF.8020004@web.de","subject":"Re: Speed of conversion from Subversion repository to Git","fromName":"Markus Elfring","fromEmail":"markus.elfring@web.de","sentAt":"2010-02-02T11:20:35Z","receivedAt":"2010-02-02T11:20:35Z","isPatch":false,"sender":{"key":"markus.elfring@web.de","avatar":null},"body":"Hello,\n\nThe execution of the command \"svn2git http://svn.opensuse.org/svn/yast/\" was finished today somewhere during the night. I used the version 1.3.1 together with Git 1.6.6.1 on my openSUSE 11.2 system. Now I hope that my conversion try was really successful.\n\nelfring@Sonne:~/Projekte/YaST/lokal> du -hs .git . && git branch\n518M    .git\n653M    .\n  Moblin\n  REFACTORING-10_3\n  SuSE-Code-11-Branch\n  SuSE-Code-11-SP1-Branch\n  SuSE-Linux-10_0-Branch\n  SuSE-Linux-10_1-Branch\n  SuSE-Linux-10_1-Branch@30668\n  SuSE-Linux-10_2-Branch\n  SuSE-Linux-10_3-Branch\n  SuSE-Linux-11_0-Branch\n  SuSE-Linux-11_2-Branch\n  SuSE-Linux-9_3-Branch\n  SuSE-SLE-10-Branch\n  SuSE-SLE-10-SP1-Branch\n  SuSE-SLE-10-SP1-Features-Branch\n  SuSE-SLE-10-SP2-Branch\n  SuSE-SLE-10-SP3-Branch\n  YaST2-X11-2-13-SuSE-10-1\n  YaST2-X11-2-13-SuSE-10-1@29086\n  YaST2-X11-2-14-SuSE-10-2\n  YaST2-X11-2-14-SuSE-10-2@34577\n* master\n  moblin\n  research\n  selection_widgets_cleanup-core\n  selection_widgets_cleanup-core@22138\n  selection_widgets_cleanup-qt\n  selection_widgets_cleanup-qt@22138\n  tmp\n  unsupported\n\nThe network activity was mostly low during this lengthy process. Are more software developers interested to speed this procedure up?\nDo know ways to improve the processor utilisation so that such a data import will be completed faster?\n\nRegards,\nMarkus\n"},{"id":"134241","messageId":"4B743A1A.5060904@web.de","threadId":"22473","inReplyTo":"4B6717DF.8020004@web.de","subject":"Re: Speed of conversion from Subversion repository to Git","fromName":"Markus Elfring","fromEmail":"markus.elfring@web.de","sentAt":"2010-02-11T17:10:50Z","receivedAt":"2010-02-11T17:10:50Z","isPatch":false,"sender":{"key":"markus.elfring@web.de","avatar":null},"body":"Hello,\n\nAre there any chances to increase the processor utilisation in noticeable ways by multi-threaded programming?\nhttp://git.kernel.org/?p=git/git.git;a=blob;f=git-svn.perl;h=265852f4596bfe5aeca12be06f78631320b8ebb4;hb=HEAD\n\nDo any conversion tasks exist which would benefit from parallel processing?\n\nRegards,\nMarkus\n"}]}