Mercurial > hg
comparison rust/rhg/src/commands/status.rs @ 52282:51a350a22d0c
branching: merge stable into default
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 20 Nov 2024 15:53:19 +0100 |
parents | bd8081e9fd62 fdecc547a75d |
children | b422acba55f1 |
comparison
equal
deleted
inserted
replaced
52255:65d516db7309 | 52282:51a350a22d0c |
---|---|
383 let manifest = repo.manifest_for_node(p1).map_err(|e| { | 383 let manifest = repo.manifest_for_node(p1).map_err(|e| { |
384 CommandError::from((e, &*format!("{:x}", p1.short()))) | 384 CommandError::from((e, &*format!("{:x}", p1.short()))) |
385 })?; | 385 })?; |
386 let working_directory_vfs = repo.working_directory_vfs(); | 386 let working_directory_vfs = repo.working_directory_vfs(); |
387 let store_vfs = repo.store_vfs(); | 387 let store_vfs = repo.store_vfs(); |
388 let revlog_open_options = default_revlog_options( | 388 let filelog_open_options = default_revlog_options( |
389 repo.config(), | 389 repo.config(), |
390 repo.requirements(), | 390 repo.requirements(), |
391 RevlogType::Manifestlog, | 391 RevlogType::Filelog, |
392 )?; | 392 )?; |
393 let res: Vec<_> = take(&mut ds_status.unsure) | 393 let res: Vec<_> = take(&mut ds_status.unsure) |
394 .into_par_iter() | 394 .into_par_iter() |
395 .map(|to_check| { | 395 .map(|to_check| { |
396 // The compiler seems to get a bit confused with complex | 396 // The compiler seems to get a bit confused with complex |
401 &working_directory_vfs, | 401 &working_directory_vfs, |
402 &store_vfs, | 402 &store_vfs, |
403 check_exec, | 403 check_exec, |
404 &manifest, | 404 &manifest, |
405 &to_check.path, | 405 &to_check.path, |
406 revlog_open_options, | 406 filelog_open_options, |
407 ) { | 407 ) { |
408 Err(HgError::IoError { .. }) => { | 408 Err(HgError::IoError { .. }) => { |
409 // IO errors most likely stem from the file being | 409 // IO errors most likely stem from the file being |
410 // deleted even though we know it's in the | 410 // deleted even though we know it's in the |
411 // dirstate. | 411 // dirstate. |