# HG changeset patch # User Raphaël Gomès # Date 2022-12-12 15:38:05 # Node ID baa4e2c93642743708dc99d30c67131b7013f771 # Parent 964a913343a2f873ac7c329e3defca813ee803c9 rust: add debug log about skipping dirstate update diff --git a/rust/rhg/src/commands/status.rs b/rust/rhg/src/commands/status.rs --- a/rust/rhg/src/commands/status.rs +++ b/rust/rhg/src/commands/status.rs @@ -457,6 +457,7 @@ pub fn run(invocation: &crate::CliInvoca // Not updating the dirstate is not ideal but not critical: // don’t keep our caller waiting until some other Mercurial // process releases the lock. + log::info!("not writing dirstate from `status`: lock is held") } Err(LockError::Other(HgError::IoError { error, .. })) if error.kind() == io::ErrorKind::PermissionDenied =>