# HG changeset patch # User Raphaël Gomès # Date 2023-02-27 23:04:32 # Node ID f5e4248e5bce98a8496a84311929ed79c6fcf29c # Parent 6515d9a6592dc07ba59fbefbdf69324a9730dcb0 dirstate: add some debug output when writing the dirstate This helps debugging Mercurial behavior in the dirstate-v2 case. diff --git a/rust/hg-core/src/repo.rs b/rust/hg-core/src/repo.rs --- a/rust/hg-core/src/repo.rs +++ b/rust/hg-core/src/repo.rs @@ -481,7 +481,10 @@ impl Repo { // https://github.com/openzfs/zfs/issues/13370 // if !append { + log::trace!("creating a new dirstate data file"); options.create_new(true); + } else { + log::trace!("appending to the dirstate data file"); } let data_size = (|| {