Re: Speed of conversion from Subversion repository to Git
On Mon, Feb 1, 2010 at 10:05, Markus Elfring <Markus.Elfring@web.de> wrote:
Show 13 quoted lines
> Hello,
>
> I am trying to convert the YaST Subversion repository into a Git variant on my
> system. Unfortunately, a command like "svn2git
> http://svn.opensuse.org/svn/yast/" does not finish this attempt after 1,5 days
> (> 715:13.24 CPU time) here. I would appreciate suggestions for improvements of
> the execution speed.
> (Renicing of the process "git-svn" does not help to increase its processor
> utilisation in noticeable ways.)
>
> Regards,
> Markus
>
We're in the process of converting to Git at work, and I've found that svn-all-fast-export was the best option for us. git-svn's behavior of a branch's entire history every time it found a new branch (even though it has already seen 3/4 of the revisions involved) caused it to be far too slow for our needs. Admittedly, this was ~1 year ago that I tried git-svn to do a test conversion, and things might have improved since then.
svn-all-fast-export does require access to the raw repository, instead of just (http|svn|svn+ssh):// access, but it does allow you to split out one SVN "repository" into multiple Git repositories in one go.
-Jacob