Skip to content

Unable to use --resume-from #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
starseeker opened this issue Aug 20, 2016 · 2 comments
Open

Unable to use --resume-from #20

starseeker opened this issue Aug 20, 2016 · 2 comments
Labels

Comments

@starseeker
Copy link

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?

@LauraLMann
Copy link

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.

@uqs
Copy link
Contributor

uqs commented Jul 25, 2019

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

@hartwork hartwork added the bug label Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants