[Updated] D8432: dirstate: force _checkexec to return a bool

mplamann (Mitchell Plamann) phabricator at mercurial-scm.org
Thu May 7 18:21:03 UTC 2020


Herald added a subscriber: mercurial-patches.
Closed by commit rHG373dd22ae60e: dirstate: force _checkexec to return a bool (authored by mplamann).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8432?vs=21154&id=21308

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8432/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8432

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -180,7 +180,7 @@
 
     @propertycache
     def _checkexec(self):
-        return util.checkexec(self._root)
+        return bool(util.checkexec(self._root))
 
     @propertycache
     def _checkcase(self):



To: mplamann, #hg-reviewers, marmoute, Alphare
Cc: mercurial-patches, Alphare, marmoute, mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200507/0c990993/attachment.html>


More information about the Mercurial-patches mailing list