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

Re: svn to git, N-squared?

From
Linus Torvalds <torvalds@osdl.org>
Date
Jun 12, 2006, 16:41 UTC
Message-ID
<Pine.LNX.4.64.0606120938490.5498@g5.osdl.org>
In-Reply-To
<9e4733910606120922g181a5aaal623fd3f29b839f4c@mail.gmail.com>
On Mon, 12 Jun 2006, Jon Smirl wrote:
>
> 64 files in tmp.
> But the SVN repository itself has 411,000 files in it. Split between
> two directories.
Ouch. That sounds like it. 
> Is there some pack equivalent for svn that I haven't found yet?

Is this literally what SVN does normally? That's just insane. I mean, even git tried to at least hash out the files (and yeah, admittedly even that worked less well than I was hoping for, but I at least fixed it within just a few weeks through the pack mechanism).

Or is that 411,000 files a result of how git-svnimport does things, rather than some basic SVN approach to live: does it perhaps end up checking out each file under an individual temporary name?

			Linus
Previous: Linus TorvaldsNext: Jon Smirl
Message 9 of 14 in “Re: svn to git, N-squared?”
  1. linux@horizon.comJun 12, 2006
  2. Jon SmirlJun 12, 2006
  3. Linus TorvaldsJun 12, 2006
  4. Jon SmirlJun 12, 2006
  5. Linus TorvaldsJun 12, 2006
  6. Jon SmirlJun 12, 2006
  7. Jon SmirlJun 12, 2006
  8. Linus TorvaldsJun 12, 2006
  9. Linus TorvaldsJun 12, 2006
  10. Jon SmirlJun 12, 2006
  11. Linus TorvaldsJun 12, 2006
  12. Jon SmirlJun 12, 2006
  13. Jon SmirlJun 12, 2006
  14. Jon SmirlJun 12, 2006

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.