OLD | NEW |
| (Empty) |
1 @echo off | |
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 | |
4 :: found in the LICENSE file. | |
5 | |
6 :: IMPORTANT NOTE: | |
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. | |
11 | |
12 :: At this point we know %DEPOT_TOOLS_UPDATE% != 0 as in the previous script | |
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" | |
OLD | NEW |