Passing canonical=True to cbor.dump() will help in writing the data
deterministically. This will sort all the sets and dicts before writing to the
file. Thanks indygreg for recommending to use it.
Details
Details
- Reviewers
martinvonz - Group Reviewers
hg-reviewers - Commits
- rHG18c6d8b565bf: state: set canonical=True to write deterministically
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.