OLD | NEW |
---|---|
1 @echo off | 1 @echo off |
2 :: Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 :: Copyright (c) 2010 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 batch file will try to sync the root directory. | 6 :: This batch file will try to sync the root directory. |
7 :: This bootstrap is only used in the svn workflow. | |
M-A Ruel
2012/03/20 15:19:13
It'd be nice if it was used by the git workflow to
| |
7 | 8 |
8 :: Shall skip automatic update? | 9 :: Shall skip automatic update? |
9 IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF | 10 IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF |
10 | 11 |
11 :: We can't sync if ..\.svn\. doesn't exist. | 12 :: We can't sync if ..\.svn\. doesn't exist. |
12 IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF | 13 IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF |
13 | 14 |
14 :: Sync the .. directory to update the bootstrap at the same time. | 15 :: Sync the .. directory to update the bootstrap at the same time. |
15 call svn -q up "%~dp0.." | 16 call svn -q up "%~dp0.." |
OLD | NEW |