Thu, 21 Nov 2024 11:46:10 -0500 setup: require TLS 1.2 support from the Python interpreter (BC) default tip
Matt Harbison <matt_harbison@yahoo.com> [Thu, 21 Nov 2024 11:46:10 -0500] rev 52316
setup: require TLS 1.2 support from the Python interpreter (BC) Before it was optional, and either 1.1 or 1.2 was sufficient. Now that the default minimum is 1.2, it needs to be present to work out of the box. The code here is more convoluted than the corresponding checks in `sslutil.py`, but I'm leaving it alone because it can all be simplified when py38 is dropped.
Thu, 21 Nov 2024 01:07:47 -0500 run-tests: refactor the HGPORT handling code to use a constant for the max val
Matt Harbison <matt_harbison@yahoo.com> [Thu, 21 Nov 2024 01:07:47 -0500] rev 52315
run-tests: refactor the HGPORT handling code to use a constant for the max val Simple enough, and then we don't need comments to cross-reference other areas of code that need to be kept in sync. Since the `_getreplacements()` list is now partially dynamically generated and needed to change anyway, also move the one line that was being appended separately to the list for some reason, for clarity.
Mon, 18 Nov 2024 15:42:09 +0100 rust: fix darwin build
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 18 Nov 2024 15:42:09 +0100] rev 52314
rust: fix darwin build
Mon, 04 Nov 2024 15:28:32 +0100 rust: remove `atty` dependency
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:28:32 +0100] rev 52313
rust: remove `atty` dependency It is fully replaced with the now stable `std::io::IsTerminal` trait. This was the last dependency flagged as a warning by `cargo audit`, aside from `cpython` which we know about all too well: the plan is to transition to PyO3 soon-ish.
Mon, 04 Nov 2024 15:33:17 +0100 rust: update `env_logger` dependency
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:33:17 +0100] rev 52312
rust: update `env_logger` dependency Aside from being more up-to-date in general, this makes its own dependency on the unmaintained and now useless `atty` disappear.
Mon, 04 Nov 2024 15:23:41 +0100 rust: update `clap` to the latest 4.x version
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:23:41 +0100] rev 52311
rust: update `clap` to the latest 4.x version This brings in more up-to-date dependencies, some bug fixes (none of which are relevant yet), and slightly improved compile times.
Mon, 04 Nov 2024 15:17:54 +0100 rust: fix `cargo doc` warnings
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:17:54 +0100] rev 52310
rust: fix `cargo doc` warnings It makes sense to keep our doc build happy, even if it is lacking.
Mon, 04 Nov 2024 13:43:36 +0100 rust-compression: move the `Send` bound to the `Compressor` trait
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 13:43:36 +0100] rev 52309
rust-compression: move the `Send` bound to the `Compressor` trait All compressors should be `Send`, might as well make any future use easier.
Mon, 04 Nov 2024 12:10:22 +0100 rust-inner-revlog: cache the compressor
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 12:10:22 +0100] rev 52308
rust-inner-revlog: cache the compressor The `compress` function is unlikely to be used in highly contended situations, and creating a compressor has some overhead, on top of losing out on some potential advantages of longer-running optimizations from the compressor.
Mon, 04 Nov 2024 11:26:41 +0100 rust-lib: remove exports for not too common pattern-related types
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:26:41 +0100] rev 52307
rust-lib: remove exports for not too common pattern-related types This only muddies the lib and makes the imports more confusing.
Mon, 04 Nov 2024 11:21:43 +0100 rust-lib: move `PatternError` to the `filepatterns` module
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:21:43 +0100] rev 52306
rust-lib: move `PatternError` to the `filepatterns` module This is where it belongs
Mon, 04 Nov 2024 11:18:36 +0100 rust-lib: move `Dirstate*Error` to the `dirstate` module
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.
Mon, 04 Nov 2024 11:13:05 +0100 rust-lib: only export very common types to the top of the crate
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.
Mon, 04 Nov 2024 11:07:05 +0100 rust-dirstate: remove star exports
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.
Mon, 04 Nov 2024 11:00:58 +0100 rust-dirstate: merge `dirstate_tree` module into `dirstate`
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.
(0) -30000 -10000 -3000 -1000 -300 -100 -15 tip