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

Unified Diff: recipe_modules/gclient/api.py

Issue 1977373002: Fix revision for WebRTC patches sent to Chromium trybots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Addressed comments Created 4 years, 7 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 | « no previous file | recipe_modules/gclient/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/gclient/api.py
diff --git a/recipe_modules/gclient/api.py b/recipe_modules/gclient/api.py
index 7565fed62b3892c592abc10494f181779a8a6172..66576b6cdc6f73f9746ca2fbbdca00da6789613e 100644
--- a/recipe_modules/gclient/api.py
+++ b/recipe_modules/gclient/api.py
@@ -375,5 +375,11 @@ class GclientApi(recipe_api.RecipeApi):
assert patch_project is None or isinstance(patch_project, basestring)
cfg = gclient_config or self.c
path, revision = cfg.patch_projects.get(patch_project, (None, None))
+
+ # TODO(kjellander): Remove this hack when http://crbug.com/611808 is fixed.
+ if patch_project == 'webrtc' and path == 'src/third_party':
+ assert revision == 'HEAD', 'revision was %s' % revision
+ path = 'src/third_party/webrtc'
+
if path and revision and path not in cfg.revisions:
cfg.revisions[path] = revision
« no previous file with comments | « no previous file | recipe_modules/gclient/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698