diff rust/hg-core/src/utils.rs @ 49672:8e0d823ef182 stable

testing: introduce util function to synchronize concurrent commands on files This is an extension of mechanisms that the tests have been using for a while. To be able to also control the execution in Rust, we introduce utility to perform such `wait_on_file` logic based on some configuration value. This will be used in the tests introduced in the next changesets.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 28 Feb 2023 00:01:41 +0100
parents 5734b03ecf3e
children a6b8b1ab9116
line wrap: on
line diff
--- a/rust/hg-core/src/utils.rs	Tue Feb 28 00:04:32 2023 +0100
+++ b/rust/hg-core/src/utils.rs	Tue Feb 28 00:01:41 2023 +0100
@@ -15,6 +15,7 @@
 use std::fmt;
 use std::{io::Write, ops::Deref};
 
+pub mod debug;
 pub mod files;
 pub mod hg_path;
 pub mod path_auditor;