| 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 | 7 |
| 8 :: Shall skip automatic update? | 8 :: Shall skip automatic update? |
| 9 IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF | 9 IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF |
| 10 | 10 |
| 11 :: We can't sync if ..\.svn\. doesn't exist. | 11 :: We can't sync if ..\.svn\. doesn't exist. |
| 12 IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF | 12 IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF |
| 13 | 13 |
| 14 :: Sync the .. directory to update the bootstrap at the same time. | 14 :: Sync the .. directory to update the bootstrap at the same time. |
| 15 call svn -q up "%~dp0.." | 15 call svn -q up "%~dp0.." |
| OLD | NEW |