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

Side by Side Diff: depot_tools/gclient.bat

Issue 92087: Create the Next Generation of depot_tools. Eh. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/
Patch Set: Created 11 years, 8 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
« no previous file with comments | « depot_tools/gclient ('k') | depot_tools/gclient.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ native
OLDNEW
(Empty)
1 @echo off
2 :: Copyright (c) 2009 The Chromium Authors. All rights reserved.
3 :: Use of this source code is governed by a BSD-style license that can be
4 :: found in the LICENSE file.
5
6 :: This file is a stub to sync .\bootstrap first and defer control to
7 :: .\bootstrap\gclient.bat, which will sync back '.'. This is unless auto
8 :: update is disabled, were gclient.py is directly called.
9
10 :: Shall skip automatic update?
11 IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :SKIP_UPDATE
12 :: We can't sync if .\.svn\. doesn't exist.
13 IF NOT EXIST "%~dp0.svn" GOTO :SKIP_UPDATE
14
15 :: Will download svn and python if not already installed on the system.
16 call "%~dp0bootstrap\win\win_tools.bat"
17 if errorlevel 1 goto :EOF
18
19 :: Sync the bootstrap directory *only after*.
20 call svn up -q "%~dp0bootstrap"
21 :: still continue even in case of error.
22 goto :UPDATE
23
24
25 :SKIP_UPDATE
26 :: Don't bother to try to update any thing.
27 python "%~dp0\gclient.py" %*
28 goto :EOF
29
30
31 :UPDATE
32 :: Transfer control to ease the update process. The following lines won't be
33 :: executed so don't add any! Specifically, don't use 'call' in the following
34 :: line.
35 "%~dp0bootstrap\gclient.bat" %*
36 goto :EOF
OLDNEW
« no previous file with comments | « depot_tools/gclient ('k') | depot_tools/gclient.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698