Mercurial > hg
changeset 50211:f5e4248e5bce stable
dirstate: add some debug output when writing the dirstate
This helps debugging Mercurial behavior in the dirstate-v2 case.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 28 Feb 2023 00:04:32 +0100 |
parents | 6515d9a6592d |
children | 8e0d823ef182 |
files | rust/hg-core/src/repo.rs |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rust/hg-core/src/repo.rs Tue Jan 31 13:16:39 2023 +0100 +++ b/rust/hg-core/src/repo.rs Tue Feb 28 00:04:32 2023 +0100 @@ -481,7 +481,10 @@ // 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 = (|| {