Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:18:36 +0100] rev 52305
rust-lib: move `Dirstate*Error` to the `dirstate` module
That's where they belong and should always have been there.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:13:05 +0100] rev 52304
rust-lib: only export very common types to the top of the crate
This was done very early in the Rust project's lifecycle and I had very little
Rust experience. Let's keep the `DirstateParents` since they'll pop up in
all higher-level code and make the rest more explicit imports to make the
imports less confusing and the lib less cluttered.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:07:05 +0100] rev 52303
rust-dirstate: remove star exports
This makes the crate's imports confusing and muddies the discovery of the
code.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:00:58 +0100] rev 52302
rust-dirstate: merge `dirstate_tree` module into `dirstate`
The historical reasonning for `dirstate_tree` existing in the first place is
that a new approach was needed for the tree-like dirstate and it was easier
to start somewhat fresh. Now that the former dirstate is (long) gone, we
can merge those two modules to avoid the confusion that even the module
creators sometimes get.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 10:38:17 +0100] rev 52301
rust-revlog: rename `end` to `data_end`
This is more explicit.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 10:37:42 +0100] rev 52300
rust-revlog: rename `start` to `data_start`
This is more explicit.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 10:36:45 +0100] rev 52299
rust-revlog: rename `length` to `data_compressed_length`
This is more explicit and will not be confused with `len`.