Open starseeker opened 8 years ago
I had the same problem, using --add-metadata-notes. I noticed the gitlog shows the notes are associated with mark :0, and that the post in the comment above was using --add-metadata-notes. So, I tried again but using plain --add-metadata. Now the --resume-from option seems to be working fine. Seems there's some kind of issue when using both --resume-from and --add-metadata-notes that breaks --resume-from.
Similar problem here, but it's due to an upgraded SVN and/or git version.
In production I have; $ git --version git version 2.21.0 $ svn --version svn, version 1.12.0 (r1857323)
and incremental runs are fine. On a test system this was also working fine for years, but now it's broken. The initial run from rev1 up to rev400k works just fine, but then trying an iterative run immediately afterwards craps out:
fast-import crash report: fast-import process: 32409 parent process : 32408 at 2019-06-20 21:06:10 +0000
fatal: mark :0 not declared
On that system I have: $ git --version git version 2.21.0 $ svn --version svn, version 1.12.0 (r1857323)
I am using svn2git/svn-all-fast-export --add-metadata-notes --identity-domain foo.org I haven't tried w/o the metadata-notes yet, but I'd really like to keep them to allow mapping of git to SVN commits and vice versa.
Thanks
I'm trying to perform what is admittedly a rather complex svn2git conversion, as documented here:
https://sourceforge.net/p/brlcad/code/HEAD/tree/brlcad/trunk/misc/svn2git/
When I try to do a partial conversion and resume it with the --resume-from option, the process gets a few commits in and then crashes. It generates a log, and this seems to be the key issue:
fatal: mark :0 not declared
looking at the mark file in the repo, it does indeed start with :1 with no :0 entry present. Is this a known issue?