git svn import failure : write .git/Git_svn_hash_BmjclS: Bad file descriptor
- From
- Minty <mintywalker@gmail.com>
- Date
- Jan 8, 2015, 12:43 UTC
- Message-ID
- <CANBgh6jyvbquuAwpWuuG4mJ3uZgajchcsJnttn4tN+LNE6EK+Q@mail.gmail.com>
I appear to have hit a bug (or have data that the code fails on) while importing an SVN repo to git.
I'm wondering if there is anything I can do to help find / fix the cause, given I appear to have a fail-case.
Sadly I can't supply the SVN repo as the code is private.
What I did:
git svn clone https://www.example.com/dshfkjhfsjhsdkjfhsdf/nameofrepo
What I'm running:
MacOS Yosemite 10.10.1 (14B25)
§ git --version git version 2.2.1
Built via MacPorts using: sudo port install git +svn
and updated today to the latest available.
The process was running for a few minutes and does appear to have imported a lot. The last few lines of output, including the error (with paths/names anonymised)
r869 = 9823c89bbdfa9d51aeb0a16c539049ae96nd5d62 (refs/remotes/git-svn)
D path/to/stuff/Example1.java
D path/to/stuff/Example2.java
W: -empty_dir: path/to/stuff/Example1.java
W: -empty_dir: path/to/stuff/Example2.java
r870 = b1f06434b0b2f37a11be2ee5dfc6175bjs348545 (refs/remotes/git-svn)
write .git/Git_svn_hash_BmjclS: Bad file descriptor
at /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level/SVN/Ra.pm
line 623.Any advice / pointers would be welcome -- I'd be happy to run any tests & I'm reasonably comfortable coding in Perl so happy to poke around where I can.
I've been using git for year (thanks! it rocks) and hoping I can avoid having to (re)learn too much about SVN.