Mercurial > public > mercurial-scm > hg
comparison mercurial/pushkey.py @ 30445:1ce4c2062ab0
posix: simplify checkexec check
Use a slightly simpler logic that in some cases can avoid an unnecessary chmod
and stat.
Instead of flipping the X bits, make it more clear that we rely on no X bits
being set on initial file creation, and that at least some of them stick after
they all have been set.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 14 Jan 2015 01:15:26 +0100 |
parents | 7b200566e474 |
children | 57875cf423c9 |
comparison
equal
deleted
inserted
replaced
30444:b1ce25a40826 | 30445:1ce4c2062ab0 |
---|