Skip to content

Use maxMark as mark for notes as maxMark + 1 is 0 and thus not a valid mark #49

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

Merged
merged 1 commit into from
Sep 1, 2018

Conversation

Vampire
Copy link
Contributor

@Vampire Vampire commented Jun 25, 2018

When adding notes, the invalid mark is ignored and there is no problem.
But when using incremental mode together with creating meta-data notes, it is tried to reset the branch from mark 0.
This crashes with invalid mark error.

Now the maxMark is used for the notes ref, so that it can also be reset and used incrementally.
The file objects now count down starting from maxMark - 1 instead.

@tnyblom tnyblom merged commit c1a11c6 into svn-all-fast-export:master Sep 1, 2018
@Vampire Vampire deleted the fix-notes-mark branch September 1, 2018 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants