Enable support to remove the executable bit on the CQ.

R=petermayo@chromium.org
BUG=124817


Review URL: https://chromiumcodereview.appspot.com/10890039

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@153908 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/patch.py b/patch.py
index b8325da..e7bf566 100644
--- a/patch.py
+++ b/patch.py
@@ -404,9 +404,10 @@
     if match:
       mode = match.group(2)
       # Only look at owner ACL for executable.
-      # TODO(maruel): Add support to remove a property.
       if bool(int(mode[4]) & 1):
         self.svn_properties.append(('svn:executable', '*'))
+      else:
+        self.svn_properties.append(('svn:executable', None))
       return
 
     match = re.match(r'^--- (.*)$', line)