Mercurial > hg-stable
changeset 47519:b68d61af85a9
rust-dirstate: make the MTIME_UNSET public
We will use it in the cpython layer soon.
Differential Revision: https://phab.mercurial-scm.org/D10961
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 04 Jul 2021 20:40:10 +0200 |
parents | f6f25ab6bfc8 |
children | 5decb7a49bb6 |
files | rust/hg-core/src/dirstate.rs |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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