Don't remove "'deps_file': '.DEPS.git'" for chromium/src

BUG=406880
R=iannucci@chromium.org,cmp@chromium.org

Review URL: https://codereview.chromium.org/498023002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291589 0039d316-1c4b-4281-b951-d872f2087c98
changes/01/332501/1
szager@chromium.org 11 years ago
parent a5cda1e5db
commit 162183be0d

@ -1290,19 +1290,6 @@ http://www.chromium.org/developers/how-tos/get-the-code
url_val.s = CHROMIUM_SRC_URL
modified = True
# Check for obsolete deps_file
if url_val.s == CHROMIUM_SRC_URL:
deps_file_idx = ast_dict_index(solution, 'deps_file')
if deps_file_idx == -1:
continue
deps_file_val = solution.values[deps_file_idx]
if type(deps_file_val) is not ast.Str:
continue
if deps_file_val.s == '.DEPS.git':
solution.keys[deps_file_idx:deps_file_idx + 1] = []
solution.values[deps_file_idx:deps_file_idx + 1] = []
modified = True
if not modified:
return self

Loading…
Cancel
Save