mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
[bootstraps] Sync at gclient, suppress output (#2)
Have the "update_depot_tools" script also do a CIPD tool sync. This will ensure that users and systems have access to tooling at sync-time rather than just-in-time loading them at execution time. Update the tool boostraps to suppress any sort of syncing logs, if it does happen. This will ensure that users who execute the tools don't see unexpected output. BUG=chromium:748651 TEST=local - Tested on Mac and Windows. Change-Id: I1aad897d885a07beeac40a372a658681720efd2a Reviewed-on: https://chromium-review.googlesource.com/591229 Commit-Queue: Daniel Jacques <dnj@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
This commit is contained in:
@@ -52,5 +52,10 @@ for /F %%x in ('git config --get remote.origin.url') DO (
|
||||
)
|
||||
call git fetch -q origin > NUL
|
||||
call git rebase -q origin/master > NUL
|
||||
if errorlevel 1 echo Failed to update depot_tools.
|
||||
goto :EOF
|
||||
if errorlevel 1 (
|
||||
echo Failed to update depot_tools.
|
||||
goto :EOF
|
||||
)
|
||||
|
||||
:: Sync CIPD and CIPD client tools.
|
||||
call "%~dp0\cipd_bin_setup.bat"
|
||||
|
||||
Reference in New Issue
Block a user