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

svn-fe + git-fast-import bails out on certain SVN commits

From
BTBjörn Töpel <bjorn.topel@gmail.com>
Date
Mar 8, 2013, 10:21 UTC
Message-ID
<CAJ+HfNiLYYzpDN2NNzw99=z_PcbKtb_3fTneOkNOdJymSbB-zA@mail.gmail.com>
I'm importing a huge repository using svn-fe and git-fast-import.

$ cat repo.svn_dump | svn-fe 'svn+ssh://bjornto@example.com/pub/repo/' 3<backchannel | git fast-import --cat-blob-fd=3 3>backchannel

git-fast-import crashes with:
  fatal: Empty path component found in input
  fast-import: dumping crash report to .git/fast_import_crash_10844
Crashing command:
  * ls :202791
Where the crashing SVN commit is "svn cp $SVN_ROOT $SVN_ROOT/subdirectory".

A Google search led me to: http://git.661346.n2.nabble.com/BUG-fast-import-ls-command-on-commit-root-returns-missing-was-Bug-in-svn-fe-copying-the-root-directo-td7353801.html

As far as I understand, this issue is fixed in fast-import, or am I missing something? Is there a way workaround this problem?

Björn

$ git --verion git version 1.8.2.rc3.dirty $ uname -a # Ubuntu 12.04 Linux bjorntodesktop 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Message 1 of 1 in “svn-fe + git-fast-import bails out on certain SVN commits”
  1. Björn TöpelMar 8, 2013

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.