changeset 52273:fdecc547a75d stable

rhg-status: rename a variable to be more explicit Possibly we would have caught the looming bug earlier if this had been named closer to what it actual is used for.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 18 Nov 2024 15:02:59 +0100
parents f204583a24ca
children 6aa4ee2bb128
files rust/rhg/src/commands/status.rs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rust/rhg/src/commands/status.rs	Mon Nov 18 15:02:07 2024 +0100
+++ b/rust/rhg/src/commands/status.rs	Mon Nov 18 15:02:59 2024 +0100
@@ -383,7 +383,7 @@
             })?;
             let working_directory_vfs = repo.working_directory_vfs();
             let store_vfs = repo.store_vfs();
-            let revlog_open_options =
+            let filelog_open_options =
                 repo.default_revlog_options(RevlogType::Filelog)?;
             let res: Vec<_> = take(&mut ds_status.unsure)
                 .into_par_iter()
@@ -398,7 +398,7 @@
                         check_exec,
                         &manifest,
                         &to_check.path,
-                        revlog_open_options,
+                        filelog_open_options,
                     ) {
                         Err(HgError::IoError { .. }) => {
                             // IO errors most likely stem from the file being