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

Unified Diff: checkout.py

Issue 10967071: Fix applying svn:executable on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 3 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 | patch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: checkout.py
diff --git a/checkout.py b/checkout.py
index c8f240a61f9b3ccebb1981aef51a4ed24a6eaaa4..217a5a5a4bfbed8868ec1c4e43085c7fbea7e83a 100644
--- a/checkout.py
+++ b/checkout.py
@@ -366,9 +366,12 @@ class SvnCheckout(CheckoutBase, SvnMixIn):
if fnmatch.fnmatch(p.filename, prop):
for value in values.split(';'):
if '=' not in value:
- params = [value, '*']
+ params = [value, '.']
else:
params = value.split('=', 1)
+ if params[1] == '*':
+ # Works around crbug.com/150960 on Windows.
+ params[1] = '.'
stdout += self._check_output_svn(
['propset'] + params + [p.filename], credentials=False)
for post in post_processors:
« no previous file with comments | « no previous file | patch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698