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

Side by Side Diff: bootstrap/win/win_tools.bat

Issue 311713002: Bump version to 5 to clear out slow win7 git rollout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
2 :: Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 :: Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 :: Use of this source code is governed by a BSD-style license that can be 3 :: Use of this source code is governed by a BSD-style license that can be
4 :: found in the LICENSE file. 4 :: found in the LICENSE file.
5 5
6 :: This script will try to find if svn and python are accessible and it not, 6 :: This script will try to find if svn and python are accessible and it not,
7 :: it will try to download it and 'install' it in depot_tools. 7 :: it will try to download it and 'install' it in depot_tools.
8 8
9 :: Sadly, we can't use SETLOCAL here otherwise it ERRORLEVEL is not correctly 9 :: Sadly, we can't use SETLOCAL here otherwise it ERRORLEVEL is not correctly
10 :: returned. 10 :: returned.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 echo You can also get the "prebacked" version used at %WIN_TOOLS_ROOT_URL%/third _party/ 57 echo You can also get the "prebacked" version used at %WIN_TOOLS_ROOT_URL%/third _party/
58 set ERRORLEVEL=1 58 set ERRORLEVEL=1
59 goto :END 59 goto :END
60 60
61 61
62 :GIT_CHECK 62 :GIT_CHECK
63 goto :GIT_190_CHECK 63 goto :GIT_190_CHECK
64 64
65 65
66 :GIT_190_CHECK 66 :GIT_190_CHECK
67 set GIT_ERASE_TOP=3 67 set GIT_ERASE_TOP=4
68 set GIT_VERSION=1.9.0.chromium.4 68 set GIT_VERSION=1.9.0.chromium.5
69 69
70 if not "%DEPOT_TOOLS_GIT_BLEEDING%" == "1" goto :GIT_190_CHECK_REST 70 if not "%DEPOT_TOOLS_GIT_BLEEDING%" == "1" goto :GIT_190_CHECK_REST
71 set GIT_ERASE_TOP=3 71 set GIT_ERASE_TOP=4
72 set GIT_VERSION=1.9.0.chromium.4 72 set GIT_VERSION=1.9.0.chromium.5
73 73
74 :GIT_190_CHECK_REST 74 :GIT_190_CHECK_REST
75 if "%DEPOT_TOOLS_GIT_190%" == "0" goto :GIT_1852_CHECK 75 if "%DEPOT_TOOLS_GIT_190%" == "0" goto :GIT_1852_CHECK
76 :: Clean up a couple of known broken releases 76 :: Clean up a couple of known broken releases
77 for /l %%i in (1,1,%GIT_ERASE_TOP%) do if exist "%WIN_TOOLS_ROOT_DIR%\git-1.9.0. chromium.%%i_bin" ( 77 for /l %%i in (1,1,%GIT_ERASE_TOP%) do if exist "%WIN_TOOLS_ROOT_DIR%\git-1.9.0. chromium.%%i_bin" (
78 rmdir /s /q "%WIN_TOOLS_ROOT_DIR%\git-1.9.0.chromium.%%i_bin" 78 rmdir /s /q "%WIN_TOOLS_ROOT_DIR%\git-1.9.0.chromium.%%i_bin"
79 ) 79 )
80 for /f "tokens=2 delims=[]" %%i in ('ver') do set VERSTR=%%i 80 for /f "tokens=2 delims=[]" %%i in ('ver') do set VERSTR=%%i
81 for /f "tokens=2,3 delims=. " %%i in ("%VERSTR%") do (set VERMAJOR=%%i & set VER MINOR=%%j) 81 for /f "tokens=2,3 delims=. " %%i in ("%VERSTR%") do (set VERMAJOR=%%i & set VER MINOR=%%j)
82 if %VERMAJOR% lss 5 set GIT_VERSION=%GIT_VERSION%-xp 82 if %VERMAJOR% lss 5 set GIT_VERSION=%GIT_VERSION%-xp
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 goto :END 207 goto :END
208 208
209 209
210 :returncode 210 :returncode
211 set WIN_TOOLS_ROOT_URL= 211 set WIN_TOOLS_ROOT_URL=
212 set WIN_TOOLS_ROOT_DIR= 212 set WIN_TOOLS_ROOT_DIR=
213 exit /b %ERRORLEVEL% 213 exit /b %ERRORLEVEL%
214 214
215 :END 215 :END
216 call :returncode %ERRORLEVEL% 216 call :returncode %ERRORLEVEL%
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698