~clint-fewbar/+junk/chromium-depot-tools

« back to all changes in this revision

Viewing changes to src/depot_tools/bootstrap/update_depot_tools.bat

  • Committer: Clint Byrum
  • Date: 2010-11-05 05:15:19 UTC
  • Revision ID: clint@ubuntu.com-20101105051519-u1zg447kmycmw89i
Initial release for use until chromium-browser exports this as a 
binary package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
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
 
4
:: found in the LICENSE file.
 
5
 
 
6
:: This batch file will try to sync the root directory.
 
7
 
 
8
:: Shall skip automatic update?
 
9
IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF
 
10
 
 
11
:: We can't sync if ..\.svn\. doesn't exist.
 
12
IF NOT EXIST "%~dp0..\.svn\." GOTO :EOF
 
13
 
 
14
:: Sync the .. directory to update the bootstrap at the same time.
 
15
call svn -q up "%~dp0.."