svn-fe + git-fast-import bails out on certain SVN commits
- From
- Bjö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