dirstate: force _checkexec to return a bool
posix.checkexec can return True, False, or None. The rust status
implementation expects a boolean, so make sure _checkexec returns a boolean.
Differential Revision: https://phab.mercurial-scm.org/D8432
--- a/mercurial/dirstate.py Tue Apr 21 13:37:45 2020 -0700
+++ b/mercurial/dirstate.py Wed Apr 15 16:43:05 2020 -0400
@@ -180,7 +180,7 @@
@propertycache
def _checkexec(self):
- return util.checkexec(self._root)
+ return bool(util.checkexec(self._root))
@propertycache
def _checkcase(self):