Mercurial > hg
diff rust/hg-core/src/dirstate_tree/on_disk.rs @ 48165:d467e44f71d7
dirstate-v2: Move data file info in the docket closer together
Having `data_size` next to `uuid_size` (and the UUID itself) makes more sense.
Differential Revision: https://phab.mercurial-scm.org/D11545
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Fri, 01 Oct 2021 12:27:17 +0200 |
parents | ab5a7fdbf75c |
children | e8a576de703f |
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate_tree/on_disk.rs Fri Oct 01 09:29:50 2021 +0200 +++ b/rust/hg-core/src/dirstate_tree/on_disk.rs Fri Oct 01 12:27:17 2021 +0200 @@ -67,11 +67,11 @@ parent_1: [u8; STORED_NODE_ID_BYTES], parent_2: [u8; STORED_NODE_ID_BYTES], + metadata: TreeMetadata, + /// Counted in bytes data_size: Size, - metadata: TreeMetadata, - uuid_size: u8, }