Commit 7e79d37f authored by maruel@chromium.org's avatar maruel@chromium.org

Make apply_issue.py more aggressive when deleting an entry from a DEPS file.

Without this change, if an entry is removed from a DEPS file, it won't be
effectively deleted. Specify --delete_unversioned_trees so the dependency is
properly deleted.

TBR=szager@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@197081 0039d316-1c4b-4281-b951-d872f2087c98
parent f32e5329
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment