rhg-status: use `Filelog` default options when opening filelogs stable
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 18 Nov 2024 15:02:07 +0100
branchstable
changeset 52272 f204583a24ca
parent 52271 81e59988e11c
child 52273 fdecc547a75d
rhg-status: use `Filelog` default options when opening filelogs This is not currently a problem since the options are the same, but would have become one at some point in the future.
rust/rhg/src/commands/status.rs
--- a/rust/rhg/src/commands/status.rs	Fri Nov 15 23:50:35 2024 +0100
+++ b/rust/rhg/src/commands/status.rs	Mon Nov 18 15:02:07 2024 +0100
@@ -384,7 +384,7 @@
             let working_directory_vfs = repo.working_directory_vfs();
             let store_vfs = repo.store_vfs();
             let revlog_open_options =
-                repo.default_revlog_options(RevlogType::Manifestlog)?;
+                repo.default_revlog_options(RevlogType::Filelog)?;
             let res: Vec<_> = take(&mut ds_status.unsure)
                 .into_par_iter()
                 .map(|to_check| {