Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: recipe_modules/bot_update/resources/bot_update.py

Issue 2162583004: Revert "Remove all safesync_url functionality from gclient" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gclient_scm.py ('k') | recipe_modules/gclient/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/bot_update/resources/bot_update.py
diff --git a/recipe_modules/bot_update/resources/bot_update.py b/recipe_modules/bot_update/resources/bot_update.py
index ac4254dd292d9f1cf6ddef94e77e2812195021ba..bfc7b7feb67bdf12e1266e288474aea9d75878e4 100755
--- a/recipe_modules/bot_update/resources/bot_update.py
+++ b/recipe_modules/bot_update/resources/bot_update.py
@@ -653,6 +653,12 @@ def solutions_to_git(input_solutions):
first_solution = False
solution['managed'] = False
+ # We don't want gclient to be using a safesync URL. Instead it should
+ # using the lkgr/lkcr branch/tags.
+ if 'safesync_url' in solution:
+ print 'Removing safesync url %s from %s' % (solution['safesync_url'],
+ parsed_path)
+ del solution['safesync_url']
return solutions, root, buildspec
« no previous file with comments | « gclient_scm.py ('k') | recipe_modules/gclient/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698