D10961: rust-dirstate: make the MTIME_UNSET public
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sun Jul 4 21:54:14 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
We will use it in the cpython layer soon.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D10961
AFFECTED FILES
rust/hg-core/src/dirstate.rs
CHANGE DETAILS
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 @@
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
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list