Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/commands/status.rs @ 52269: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 | 51a350a22d0c |
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