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

Side by Side Diff: bootstrap/gclient.bat

Issue 9751009: Fix git depot_tools update flow. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools
Patch Set: fix to unix endlines Created 8 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 | Annotate | Revision Log
« no previous file with comments | « README ('k') | bootstrap/gclient.sh » ('j') | 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) 2009 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 :: Synchronize the root directory before deferring control back up to it. 6 :: IMPORTANT NOTE:
7 call "%~dp0\update_depot_tools.bat" 7 :: The bootstrap flow has been removed. This file's only purpose is to make the
8 :: transition smooth as the previous update script called bootstrap\gclient.bat
9 :: The current flow took place on March 21, 2012. This file should be removed
10 :: when it is believed everyone has updated since then.
8 11
9 :: Defer control. 12 :: At this point we know %DEPOT_TOOLS_UPDATE% != 0 as in the previous script
10 python "%~dp0\..\gclient.py" %* 13 :: bootstrap\gclient.bat was only called if this was the case.
14
15 :: Update the root directory. The previous version only supported svn so there
16 :: is no need looking for git here (i.e. if someone has git they can't get to
17 :: this point where the bootstrap dir is gone during the update anyways...)
18 IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF
19 call svn up -q "%~dp0.."
20
21 :: Call the updated gclient.bat in the root directory to wrap the update.
22 call "%~dp0..\gclient.bat"
OLDNEW
« no previous file with comments | « README ('k') | bootstrap/gclient.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698