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

Re: git svn clone just stops

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 16, 2009, 08:15 UTC
Message-ID
<20091216081514.GB26038@dcvr.yhbt.net>
In-Reply-To
<1260915555.6475.8.camel@mark.engr.acx>
Mark Jerkovic <mjerkovic@aconex.com> wrote:
Show 14 quoted lines
> Hi all,
> 
> I am new to Git and I am attempting to clone a SVN repository
> (containing approximately 60,000 commits) to Git.
> 
> Using Git v1.6.0.4 with the following command:
> 
> git svn clone https://path/to/svn/repo/trunk project.git
> --authors-file=svnauthors.txt --no-metadata
> 
> the process just ends without any messages and the Git repository is
> empty.  I have attempted this four times already, and each time it has
> stopped after a different revision, so I can't pin it down to a
> particular commit.
Hi Mark,

Any chance you're OOM-ing (extremely large file) or running out of space somewhere? What exit code do you get when it exits?

> Has anyone experienced this before?  Is there a log anywhere that
> records what is happening during this process?

Not without error messages of some sort. git svn was designed with poor network conditions in mind and clone is resumable, so you can just resume like this:

   cd project.git && git svn fetch

I wouldn't use --no-metadata at this point, though, as it makes it much harder to debug/fix things or recover from errors.

Once you're comfortable with it, you should be able to write "git filter-branch" invocation to remove the metadata lines.

-- 
Eric Wong
Previous: Mark JerkovicNext: Mark Jerkovic
Message 2 of 6 in “git svn clone just stops”
  1. Mark JerkovicDec 15, 2009
  2. Eric WongDec 16, 2009
  3. Mark JerkovicDec 16, 2009
  4. Pascal ObryDec 18, 2009
  5. Eric WongDec 20, 2009
  6. Pascal ObryDec 20, 2009

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.