Migrate deps scripts to use the main branch

Bug: chromium:1196558, chromium:1095735
Change-Id: I19da23ac471badcffda771e3e80901d5197091f8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2810273
Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
Alex Rudenko
2021-04-07 11:50:59 +00:00
committed by Commit Bot
parent e14e189280
commit 7d12c02acd
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ def parse_options(cli_args):
def update(options):
subprocess.check_call(['git', 'fetch', 'origin'], cwd=options.chromium_dir)
subprocess.check_call(['git', 'checkout', 'origin/master'], cwd=options.chromium_dir)
subprocess.check_call(['git', 'checkout', 'origin/main'],
cwd=options.chromium_dir)
subprocess.check_call(['gclient', 'sync'], cwd=options.chromium_dir)
def copy_files(options):
+1 -1
View File
@@ -26,7 +26,7 @@ def update(options):
# Update from upstream
subprocess.check_call(['git', 'fetch', 'origin'],
cwd=options.chromium_dir)
subprocess.check_call(['git', 'checkout', 'origin/master'],
subprocess.check_call(['git', 'checkout', 'origin/main'],
cwd=options.chromium_dir)
subprocess.check_call(['git', 'fetch', 'origin'],
cwd=options.devtools_dir)