Commit 86eb9e75 authored by maruel@chromium.org's avatar maruel@chromium.org

+x is bit 0, not 2. :(

TBR=dpranke@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/7112016

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@87844 0039d316-1c4b-4281-b951-d872f2087c98
parent 239f411a
......@@ -247,7 +247,7 @@ class FilePatchDiff(FilePatchBase):
if match:
mode = match.group(1)
# Only look at owner ACL for executable.
if bool(int(mode[4]) & 4):
if bool(int(mode[4]) & 1):
self.svn_properties.append(('svn:executable', '*'))
# Handle "--- "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment