Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: patch.py

Issue 7112016: +x is bit 0, not 2. :( (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patch.py
diff --git a/patch.py b/patch.py
index 9c54924df3dc8ea1a192cd9d0a4bc39ca51e763b..a7eef3f24fc2f1468dc25ff35c79a999b2c83155 100644
--- a/patch.py
+++ b/patch.py
@@ -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 "--- "
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698