From 8f93f79bcee79072a70cf9c8c392ad140f0cecf1 Mon Sep 17 00:00:00 2001 From: "mmoss@chromium.org" Date: Tue, 26 Aug 2014 23:24:09 +0000 Subject: [PATCH] Revert hard-coded src.git DEPS file name. This is breaking the ability to specify an alternate DEPS file, and do things like sync release tags where DEPS is still from svn and we need .DEPS.git to do a git checkout. R=iannucci@chromium.org, szager@chromium.org BUG=407049 Review URL: https://codereview.chromium.org/511533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291665 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gclient.py b/gclient.py index 4663a1e0b..3007487a5 100755 --- a/gclient.py +++ b/gclient.py @@ -220,10 +220,7 @@ class DependencySettings(GClientKeywords): # These are not mutable: self._parent = parent self._safesync_url = safesync_url - if url == CHROMIUM_SRC_URL: - self._deps_file = 'DEPS' - else: - self._deps_file = deps_file + self._deps_file = deps_file self._url = url # 'managed' determines whether or not this dependency is synced/updated by # gclient after gclient checks it out initially. The difference between