# HG changeset patch # User Pierre-Yves David # Date 1625424010 -7200 # Node ID b68d61af85a913922912982bd5a5c42a7f649136 # Parent f6f25ab6bfc8c85d52ae28cc279ab9c60c023572 rust-dirstate: make the MTIME_UNSET public We will use it in the cpython layer soon. Differential Revision: https://phab.mercurial-scm.org/D10961 diff -r f6f25ab6bfc8 -r b68d61af85a9 rust/hg-core/src/dirstate.rs --- a/rust/hg-core/src/dirstate.rs Sun Jul 04 19:42:03 2021 +0200 +++ b/rust/hg-core/src/dirstate.rs Sun Jul 04 20:40:10 2021 +0200 @@ -77,7 +77,7 @@ length: unaligned::I32Be, } -const MTIME_UNSET: i32 = -1; +pub const MTIME_UNSET: i32 = -1; /// A `DirstateEntry` with a size of `-2` means that it was merged from the /// other parent. This allows revert to pick the right status back during a