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

Unified Diff: bootstrap/update_depot_tools.bat

Issue 3856006: A refactoring left cygwin busted.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 10 years, 2 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 | « bootstrap/gclient.bat ('k') | gclient » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bootstrap/update_depot_tools.bat
===================================================================
--- bootstrap/update_depot_tools.bat (revision 0)
+++ bootstrap/update_depot_tools.bat (revision 0)
@@ -0,0 +1,15 @@
+@echo off
+:: Copyright (c) 2010 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.
+
+:: Shall skip automatic update?
+IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF
+
+:: We can't sync if ..\.svn\. doesn't exist.
+IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF
+
+:: Sync the .. directory to update the bootstrap at the same time.
+call svn -q up "%~dp0.."
« no previous file with comments | « bootstrap/gclient.bat ('k') | gclient » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698