# HG changeset patch # User Pierre-Yves David # Date 2021-07-04 18:40:10 # 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 --git a/rust/hg-core/src/dirstate.rs b/rust/hg-core/src/dirstate.rs --- a/rust/hg-core/src/dirstate.rs +++ b/rust/hg-core/src/dirstate.rs @@ -77,7 +77,7 @@ struct RawEntry { 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