rust-dirstate: make the MTIME_UNSET public
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 04 Jul 2021 20:40:10 +0200
changeset 47519 b68d61af85a9
parent 47518 f6f25ab6bfc8
child 47520 5decb7a49bb6
rust-dirstate: make the MTIME_UNSET public We will use it in the cpython layer soon. Differential Revision: https://phab.mercurial-scm.org/D10961
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