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

Re: Excruciatingly slow git-svn imports

From
EWEric Wong <normalperson@yhbt.net>
Date
Apr 29, 2008, 07:11 UTC
Message-ID
<20080429071122.GG24171@muzzle>
In-Reply-To
<2C39C19D-0B81-4879-92DC-C0436DB6E84E@midwinter.com>
Steven Grimm <koreth@midwinter.com> wrote:
Show 13 quoted lines
> On Apr 24, 2008, at 11:54 AM, Geert Bosch wrote:
> 
> >I'm trying to import a 9.7G, 130K revision svn repository
> >but it seems to only import about 6K revisions per day on fast  
> >hardware
> >using a recent git (1.5.5).
> 
> I've found that git-svn gets slower as it runs. Try interrupting the  
> clone and running "git svn fetch" -- it should pick up where it left  
> off and will be MUCH faster if my experience is any indication. When I  
> clone the big svn repository at work I usually restart it every 1000  
> revisions or so and it finishes in a fraction of the time it takes if  
> I let it do everything in a single run.

That's really strange to hear... The git-svn process itself does not store much state other than the current revision and the log information for the next 100 or so revisions it needs to import.

Are you packing the repository? Which SVN protocol are you using? Does memory usage of git-svn stay stable throughout the run?

-- 
Eric Wong
Previous: Steven GrimmNext: Geert Bosch
Message 3 of 9 in “Excruciatingly slow git-svn imports”
  1. Geert BoschApr 24, 2008
  2. Steven GrimmApr 24, 2008
  3. Eric WongApr 29, 2008
  4. Geert BoschMay 5, 2008
  5. Eric WongMay 6, 2008
  6. Avery PennarunMay 6, 2008
  7. Eric WongMay 6, 2008
  8. Geert BoschMay 6, 2008
  9. Eric WongApr 29, 2008

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.