Index: apply_issue.py |
diff --git a/apply_issue.py b/apply_issue.py |
index efd915361524579268890409fb4f5434b89e593c..30748fd7564314c2357525e63e6c9fd0034a3107 100755 |
--- a/apply_issue.py |
+++ b/apply_issue.py |
@@ -175,7 +175,12 @@ def main(): |
if sys.platform == 'win32': |
gclient_path += '.bat' |
return subprocess.call( |
- [gclient_path, 'sync', '--revision', base_rev, '--nohooks'], |
+ [ |
+ gclient_path, 'sync', |
+ '--revision', base_rev, |
+ '--nohooks', |
+ '--delete_unversioned_trees', |
+ ], |
cwd=gclient_root) |
return 0 |