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

From: Björn Töpel <hidden>
Date: 2016-06-15 22:56:20

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help