git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Speed of conversion from Subversion repository to Git

From
Jacob Helwig <jacob.helwig@gmail.com>
Date
Feb 1, 2010, 18:17 UTC
Message-ID
<8c9a061002011017l6127dd22na1930481c7b59d4@mail.gmail.com>
In-Reply-To
<4B6717DF.8020004@web.de>
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
Previous: Markus ElfringNext: Markus Elfring
Message 2 of 4 in “Speed of conversion from Subversion repository to Git”
  1. Markus ElfringFeb 1, 2010
  2. Jacob HelwigFeb 1, 2010
  3. Markus ElfringFeb 2, 2010
  4. Markus ElfringFeb 11, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.