From 7e79d37ff2120075e5bb33e066eb80d512f6d81b Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Mon, 29 Apr 2013 18:01:49 +0000 Subject: [PATCH] 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 --- apply_issue.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apply_issue.py b/apply_issue.py index efd915361..30748fd75 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