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

Unified Diff: depot_tools/bootstrap/gclient.bat

Issue 92087: Create the Next Generation of depot_tools. Eh. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/
Patch Set: Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « depot_tools/README.git-cl.codereview ('k') | depot_tools/bootstrap/gclient.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: depot_tools/bootstrap/gclient.bat
===================================================================
--- depot_tools/bootstrap/gclient.bat (revision 0)
+++ depot_tools/bootstrap/gclient.bat (revision 0)
@@ -0,0 +1,21 @@
+@echo off
+:: Copyright (c) 2009 The Chromium Authors. All rights reserved.
+:: 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.
+
+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" %*
Property changes on: depot_tools\bootstrap\gclient.bat
___________________________________________________________________
Added: svn:eol-style
+ native
« no previous file with comments | « depot_tools/README.git-cl.codereview ('k') | depot_tools/bootstrap/gclient.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698