threads / discuss / 33106

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

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

## tl;dr

One message between Mar 8, 2013 and Mar 8, 2013.

replies: 0people: 1as markdown or json

Björn Töpel· Mar 8, 2013, 10:21 UTC · lore
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

← back to recent threads