Commit dd2ce986 authored by Nodir Turakulov's avatar Nodir Turakulov Committed by Commit Bot

[gclient] Update set_patch_project_revision

Update set_patch_project_revision to use repo_path_map instead of
patch_projects.
Also rename to set_patch_repo_revision.

Bug: 694348
Change-Id: Iba31f4910f8282160000b8fcef197052597530a4
Reviewed-on: https://chromium-review.googlesource.com/1226107
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: 's avatarEdward Lesmes <ehmaldonado@chromium.org>
parent 67ef3f67
...@@ -51,7 +51,7 @@ Recipe module to ensure a checkout is consistent on a bot. ...@@ -51,7 +51,7 @@ Recipe module to ensure a checkout is consistent on a bot.
Wrapper for easy calling of bot_update. Wrapper for easy calling of bot_update.
&mdash; **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#418)(self, bot_update_step):** &mdash; **def [deapply\_patch](/recipes/recipe_modules/bot_update/api.py#417)(self, bot_update_step):**
Deapplies a patch, taking care of DEPS and solution revisions properly. Deapplies a patch, taking care of DEPS and solution revisions properly.
...@@ -67,7 +67,7 @@ Args: ...@@ -67,7 +67,7 @@ Args:
manifest_name: The name of the manifest to upload to LogDog. This must manifest_name: The name of the manifest to upload to LogDog. This must
be unique for the whole build. be unique for the whole build.
&mdash; **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#395)(self, project_name, gclient_config=None):** &mdash; **def [get\_project\_revision\_properties](/recipes/recipe_modules/bot_update/api.py#394)(self, project_name, gclient_config=None):**
Returns all property names used for storing the checked-out revision of Returns all property names used for storing the checked-out revision of
a given project. a given project.
...@@ -328,7 +328,7 @@ Chromium config. This may happen for one of two reasons: ...@@ -328,7 +328,7 @@ Chromium config. This may happen for one of two reasons:
&mdash; **def [runhooks](/recipes/recipe_modules/gclient/api.py#264)(self, args=None, name='runhooks', \*\*kwargs):** &mdash; **def [runhooks](/recipes/recipe_modules/gclient/api.py#264)(self, args=None, name='runhooks', \*\*kwargs):**
&mdash; **def [set\_patch\_project\_revision](/recipes/recipe_modules/gclient/api.py#399)(self, patch_project, gclient_config=None):** &mdash; **def [set\_patch\_repo\_revision](/recipes/recipe_modules/gclient/api.py#399)(self, gclient_config=None):**
Updates config revision corresponding to patch_project. Updates config revision corresponding to patch_project.
......
...@@ -113,8 +113,7 @@ class BotUpdateApi(recipe_api.RecipeApi): ...@@ -113,8 +113,7 @@ class BotUpdateApi(recipe_api.RecipeApi):
# Allow patch_project's revision if necessary. # Allow patch_project's revision if necessary.
# This is important for projects which are checked out as DEPS of the # This is important for projects which are checked out as DEPS of the
# gclient solution. # gclient solution.
self.m.gclient.set_patch_project_revision( self.m.gclient.set_patch_repo_revision(cfg)
self.m.properties.get('patch_project'), cfg)
reverse_rev_map = self.m.gclient.got_revision_reverse_mapping(cfg) reverse_rev_map = self.m.gclient.got_revision_reverse_mapping(cfg)
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
"https://chromium.googlesource.com/angle/angle@refs/changes/56/123456/7", "https://chromium.googlesource.com/angle/angle@refs/changes/56/123456/7",
"--revision", "--revision",
"src@HEAD", "src@HEAD",
"--revision",
"src/third_party/angle@HEAD",
"--disable-syntax-validation", "--disable-syntax-validation",
"--no-apply-patch-on-gclient" "--no-apply-patch-on-gclient"
], ],
...@@ -74,7 +76,8 @@ ...@@ -74,7 +76,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
...@@ -158,6 +161,8 @@ ...@@ -158,6 +161,8 @@
"/path/to/tmp/json", "/path/to/tmp/json",
"--revision", "--revision",
"src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", "src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
"--revision",
"src/third_party/angle@fac9503c46405f77757b9a728eb85b8d7bc6080c",
"--no-apply-patch-on-gclient" "--no-apply-patch-on-gclient"
], ],
"env_prefixes": { "env_prefixes": {
...@@ -172,7 +177,8 @@ ...@@ -172,7 +177,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
"https://chromium.googlesource.com/angle/angle@refs/changes/56/123456/7", "https://chromium.googlesource.com/angle/angle@refs/changes/56/123456/7",
"--revision", "--revision",
"src@HEAD", "src@HEAD",
"--revision",
"src/third_party/angle@HEAD",
"--disable-syntax-validation" "--disable-syntax-validation"
], ],
"env_prefixes": { "env_prefixes": {
...@@ -73,7 +75,8 @@ ...@@ -73,7 +75,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
...@@ -156,7 +159,9 @@ ...@@ -156,7 +159,9 @@
"--output_json", "--output_json",
"/path/to/tmp/json", "/path/to/tmp/json",
"--revision", "--revision",
"src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9" "src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
"--revision",
"src/third_party/angle@fac9503c46405f77757b9a728eb85b8d7bc6080c"
], ],
"env_prefixes": { "env_prefixes": {
"PATH": [ "PATH": [
...@@ -170,7 +175,8 @@ ...@@ -170,7 +175,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": \"fac9503c46405f77757b9a728eb85b8d7bc6080c\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
"https://chromium.googlesource.com/v8/v8@refs/changes/56/123456/7", "https://chromium.googlesource.com/v8/v8@refs/changes/56/123456/7",
"--revision", "--revision",
"src@HEAD", "src@HEAD",
"--revision",
"src/v8@experimental/feature",
"--disable-syntax-validation" "--disable-syntax-validation"
], ],
"env_prefixes": { "env_prefixes": {
...@@ -73,7 +75,8 @@ ...@@ -73,7 +75,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/v8\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
...@@ -156,7 +159,9 @@ ...@@ -156,7 +159,9 @@
"--output_json", "--output_json",
"/path/to/tmp/json", "/path/to/tmp/json",
"--revision", "--revision",
"src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9" "src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
"--revision",
"src/v8@801ada225ddc271c132c3a35f03975671d43e399"
], ],
"env_prefixes": { "env_prefixes": {
"PATH": [ "PATH": [
...@@ -170,7 +175,8 @@ ...@@ -170,7 +175,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/v8\": \"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
"https://webrtc.googlesource.com/src@refs/changes/56/123456/7", "https://webrtc.googlesource.com/src@refs/changes/56/123456/7",
"--revision", "--revision",
"src@HEAD", "src@HEAD",
"--revision",
"src/third_party/webrtc@HEAD",
"--disable-syntax-validation" "--disable-syntax-validation"
], ],
"env_prefixes": { "env_prefixes": {
...@@ -73,7 +75,8 @@ ...@@ -73,7 +75,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
...@@ -156,7 +159,9 @@ ...@@ -156,7 +159,9 @@
"--output_json", "--output_json",
"/path/to/tmp/json", "/path/to/tmp/json",
"--revision", "--revision",
"src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9" "src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
"--revision",
"src/third_party/webrtc@HEAD"
], ],
"env_prefixes": { "env_prefixes": {
"PATH": [ "PATH": [
...@@ -170,7 +175,8 @@ ...@@ -170,7 +175,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
......
...@@ -59,6 +59,8 @@ ...@@ -59,6 +59,8 @@
"https://chromium.googlesource.com/v8/v8@refs/changes/56/123456/7", "https://chromium.googlesource.com/v8/v8@refs/changes/56/123456/7",
"--revision", "--revision",
"src@HEAD", "src@HEAD",
"--revision",
"src/v8@HEAD",
"--disable-syntax-validation" "--disable-syntax-validation"
], ],
"env_prefixes": { "env_prefixes": {
...@@ -73,7 +75,8 @@ ...@@ -73,7 +75,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/v8\": \"HEAD\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
...@@ -156,7 +159,9 @@ ...@@ -156,7 +159,9 @@
"--output_json", "--output_json",
"/path/to/tmp/json", "/path/to/tmp/json",
"--revision", "--revision",
"src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9" "src@f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
"--revision",
"src/v8@801ada225ddc271c132c3a35f03975671d43e399"
], ],
"env_prefixes": { "env_prefixes": {
"PATH": [ "PATH": [
...@@ -170,7 +175,8 @@ ...@@ -170,7 +175,8 @@
"@@@STEP_LOG_LINE@json.output@{@@@", "@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"src/v8\": \"801ada225ddc271c132c3a35f03975671d43e399\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@", "@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
......
...@@ -146,7 +146,7 @@ class GclientApi(recipe_api.RecipeApi): ...@@ -146,7 +146,7 @@ class GclientApi(recipe_api.RecipeApi):
def sync(self, cfg, extra_sync_flags=None, **kwargs): def sync(self, cfg, extra_sync_flags=None, **kwargs):
revisions = [] revisions = []
self.set_patch_project_revision(self.m.properties.get('patch_project'), cfg) self.set_patch_repo_revision(gclient_config=cfg)
for i, s in enumerate(cfg.solutions): for i, s in enumerate(cfg.solutions):
if i == 0 and s.revision is None: if i == 0 and s.revision is None:
s.revision = RevisionFallbackChain() s.revision = RevisionFallbackChain()
...@@ -396,14 +396,14 @@ class GclientApi(recipe_api.RecipeApi): ...@@ -396,14 +396,14 @@ class GclientApi(recipe_api.RecipeApi):
# and include actual solution name in them. # and include actual solution name in them.
return self.m.path.join(*root.split('/')) return self.m.path.join(*root.split('/'))
def set_patch_project_revision(self, patch_project, gclient_config=None): def set_patch_repo_revision(self, gclient_config=None):
"""Updates config revision corresponding to patch_project. """Updates config revision corresponding to patch_project.
Useful for bot_update only, as this is the only consumer of gclient's config Useful for bot_update only, as this is the only consumer of gclient's config
revision map. This doesn't overwrite the revision if it was already set. revision map. This doesn't overwrite the revision if it was already set.
""" """
assert patch_project is None or isinstance(patch_project, basestring)
cfg = gclient_config or self.c cfg = gclient_config or self.c
path, revision = cfg.patch_projects.get(patch_project, (None, None)) repo_url = self.m.tryserver.gerrit_change_repo_url
path, revision = cfg.repo_path_map.get(repo_url, (None, None))
if path and revision and path not in cfg.revisions: if path and revision and path not in cfg.revisions:
cfg.revisions[path] = revision cfg.revisions[path] = revision
...@@ -56,7 +56,7 @@ def RunSteps(api, patch_project, patch_repository_url): ...@@ -56,7 +56,7 @@ def RunSteps(api, patch_project, patch_repository_url):
api.gclient.calculate_patch_root( api.gclient.calculate_patch_root(
patch_project, None, patch_repository_url) patch_project, None, patch_repository_url)
api.gclient.set_patch_project_revision(patch_project) api.gclient.set_patch_repo_revision()
def GenTests(api): def GenTests(api):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment