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

hg-to-git performance on big repos

From
FSFedor V. Sergeev <theodor@geo.phys.spbu.ru>
Date
Mar 22, 2008, 13:34 UTC
Message-ID
<20080322162618.K47359@geo.geo.loc>
Folks,

I'm trying to convert a relatively big Mercurial repo (70K commits) into Git using contrib/hg-to-git. It initially goes fine but starts to slow down nearly exponentially as the number of converted changesets goes up.

git-fast-import seems to just hang around, while all the work (100% cpu) is spent in that python thing. It does not eat up memory, pstack looks fine, but after some 10K commits it just crawls.

It did not finish in 2 days and after that machine got a power down :(
Can anybody tell me is this normal or what?
thanks in advance,
  Fedor.
P.S. Yeah, if that does matter I'm doing it on OpenSolaris ;)
Next: Theodore Tso
Message 1 of 2 in “hg-to-git performance on big repos”
  1. Fedor V. SergeevMar 22, 2008
  2. Theodore TsoMar 22, 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.