Index: bootstrap/gclient.bat |
=================================================================== |
--- bootstrap/gclient.bat (revision 63224) |
+++ bootstrap/gclient.bat (working copy) |
@@ -3,19 +3,8 @@ |
:: Use of this source code is governed by a BSD-style license that can be |
:: found in the LICENSE file. |
-:: This batch file will try to sync the root directory and call back gclient. |
+:: Synchronize the root directory before deferring control back up to it. |
+call "%~dp0\update_depot_tools.bat" |
-setlocal |
- |
-:: Shall skip automatic update? |
-IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :gclient |
- |
-:: We can't sync if ..\.svn\. doesn't exist. |
-IF NOT EXIST "%~dp0..\.svn\." GOTO :gclient |
- |
-:: Sync the .. directory to update the bootstrap at the same time. |
-call svn -q up "%~dp0.." |
- |
-:gclient |
:: Defer control. |
python "%~dp0\..\gclient.py" %* |