git-svn: incomplete data after terminated "git svn clone"
- From
Erik Faye-Lund <kusmabite@googlemail.com>
- Date
- Feb 10, 2009, 11:50 UTC
- Message-ID
- <40aa078e0902100350m2d885516o853b1ec56eb43ce1@mail.gmail.com>
I'm a novice at Git, so bear with me even if the answer is obvious to experienced users, please :)
I recently tried to clone an existing (very big) SVN repo by using "git svn clone <repo> -s", and by mistake I pressed Ctrl-C after the clone operation had been running for ~16 hours. When trying to re-issue the clone, I got the error message "Incomplete data: Delta source ended unexpectedly at /home/erifay01/libexec/git-core/git-svn line 4249" after git-svn fetching another 8 or so revisions. Now, I realize I shouldn't have done this, but I'd still prefer avoiding to have to re-do it all.
I already tried re-building the svn metadata by moving away ".git/svn" and re-issuing the clone command, but no luck. It quickly re-builds everything up to the revision that git-svn broke at, but fails with the same error message.
Now, I'm wondering if there's any way of going back to the state before I pressed Ctrl-C, so I can rebuild from there. I know what revision I terminated at, and I have the corresponding SHA.
-- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656