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

Side by Side Diff: bootstrap/update_depot_tools.bat

Issue 9751009: Fix git depot_tools update flow. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools
Patch Set: Created 8 years, 9 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
OLDNEW
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.."
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698