Mercurial > hg
comparison rust/hg-core/src/lib.rs @ 49894:678588b01af1
rhg: implement checkexec to support weird filesystems
In particular, some of our repos are stored on a fileserver that simulates
POSIX permissions poorly, in such a way that prevents the removal
of execute permission.
This causes rhg show a spurious unclean status, even though python
hg reports the repo as clean.
We fix this by making rhg implement the ~same checkexec logic
that python hg does.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 05 Jan 2023 17:15:03 +0000 |
parents | 7c93e38a0bbd |
children | c15b415d1bff |
comparison
equal
deleted
inserted
replaced
49893:5f664401dd03 | 49894:678588b01af1 |
---|---|
28 mod filepatterns; | 28 mod filepatterns; |
29 pub mod matchers; | 29 pub mod matchers; |
30 pub mod repo; | 30 pub mod repo; |
31 pub mod revlog; | 31 pub mod revlog; |
32 pub use revlog::*; | 32 pub use revlog::*; |
33 pub mod checkexec; | |
33 pub mod config; | 34 pub mod config; |
34 pub mod lock; | 35 pub mod lock; |
35 pub mod logging; | 36 pub mod logging; |
36 pub mod operations; | 37 pub mod operations; |
37 pub mod revset; | 38 pub mod revset; |