changeset 49667:baa4e2c93642 stable

rust: add debug log about skipping dirstate update
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 12 Dec 2022 16:38:05 +0100
parents 964a913343a2
children f2e13d8d30e0
files rust/rhg/src/commands/status.rs
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rust/rhg/src/commands/status.rs	Mon Jan 09 15:17:48 2023 +0100
+++ b/rust/rhg/src/commands/status.rs	Mon Dec 12 16:38:05 2022 +0100
@@ -457,6 +457,7 @@
             // 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 =>