Fix applying svn:executable on Windows.
For an unknown reason, 'svn propset svn:executable * foo.sh' doesn't work on
Windows. It is even more awkward that 'svn propset svn:executable . foo.sh'
works just fine, in particular, subversion replaces the value, as long as it's
not an empty string, back to '*'.
R=petermayo@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/10967071
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158281 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/patch.py b/patch.py
index 54f5d17..9083094 100644
--- a/patch.py
+++ b/patch.py
@@ -405,7 +405,7 @@
mode = match.group(2)
# Only look at owner ACL for executable.
if bool(int(mode[4]) & 1):
- self.svn_properties.append(('svn:executable', '*'))
+ self.svn_properties.append(('svn:executable', '.'))
elif not self.source_filename and self.is_new:
# It's a new file, not from a rename/copy, then there's no property to
# delete.