-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug that didn't preserve the version bit when copying old sna…
…pshots The version bit should not be set to 1 when encoding a snapshot. Instead, it must be set to 1 on snapshot creation. To correctly process old snapshots encoded incorrectly with version bit set to 1, the first byte of the encoded file list is also checked. If the first byte is `[`, then it must be an old snapshot, since the file list in the new snapshot format always starts with a string encoded in msgpack, the first byte of which can't be `[`.
- Loading branch information
1 parent
0a794e6
commit 58f0d2b
Showing
2 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58f0d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Duplicacy Forum. There might be relevant details there:
https://forum.duplicacy.com/t/failed-to-load-the-snapshot-error-problem-with-cli-3-0-1/6907/8
58f0d2b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Duplicacy Forum. There might be relevant details there:
https://forum.duplicacy.com/t/cli-release-3-1-0-is-now-available/7076/1