D11089: dirstate-v2: Enforce data size read from the docket file

2021-07-12 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The data file may not be shorter than its size given by the docket. It may be longer, but additional data is ignored. REPOSITORY rHG Mercurial BRANCH

D11090: dirstate-v2: Rename Header to Root, move it to the end of the data file

2021-07-12 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Now that they don’t have to be at the start, a given data file may contain multiple "roots". A docket only points to one of them, and previous ones are

D11088: dirstate-v2: Introduce a docket file

2021-07-12 Thread SimonSapin
SimonSapin created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY .hg/dirstate now only contains some metadata to point to a separate data file named .hg/dirstate.{}.d with a random hexadecimal identifier. For now every

[Bug 6538] New: Follow up to issue 6528, parent ordering

2021-07-12 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6538 Bug ID: 6538 Summary: Follow up to issue 6528, parent ordering Product: Mercurial Version: default branch Hardware: PC OS: Linux Status: UNCONFIRMED