rhg: implement checkexec to support weird filesystems
rhg: implement checkexec to support weird filesystems
In particular, some of our repos are stored on pubdirs in NFS, and those are configured 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.
Edited by Arseniy Alekseyev