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

Re: Excruciatingly slow git-svn imports

From
Avery Pennarun <apenwarr@gmail.com>
Date
May 6, 2008, 03:56 UTC
Message-ID
<32541b130805052056g450b69cfg46693bc3c0c5a1ed@mail.gmail.com>
In-Reply-To
<20080506032846.GA15521@untitled>
On 5/5/08, Eric Wong <normalperson@yhbt.net> wrote:
Show 9 quoted lines
> Interesting.  By  "These commits seemed all to have thousands of files",
>  you mean the first 35K that took up most of the time?  If so, yes,
>  that's definitely a problem...
>
>  git-svn requests a log from SVN containing a list of all paths modified
>  in each revision.  By default, git-svn only requests log entries for up
>  to 100 revisions at a time to reduce memory usage.  However, having
>  thousands of files modified for each revision would still be
>  problematic, as would having insanely long commit messages.

On my system, any branch that was created using "svn cp" of a toplevel directory seems to cause git-svn to (rather slowly) download every single file in the entire branch for the first commit on that branch, giving a symptom that sounds a lot like the above "commits with thousands of files". I assumed this was just an intentional design decision in git-svn, to be slow and safe instead of fast and loose. Is it actually supposed to do something smarter than that?

Thanks,
Avery
Previous: Eric WongNext: Eric Wong
Message 6 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.