Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.
TEST=none BUG=none Review URL: http://codereview.chromium.org/125259 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18633 0039d316-1c4b-4281-b951-d872f2087c98experimental/szager/collated-output
parent
6b3c20dbe0
commit
25a8081d37
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
# 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 script will try to sync the root and bootstrap directories.
|
||||
|
||||
base_dir=$(dirname "$0")
|
||||
|
||||
# Skip if $DEPOT_TOOLS_UPDATE==0 or ../.svn/. doesn't exist.
|
||||
if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/../.svn" ]
|
||||
then
|
||||
# Update the root directory.
|
||||
svn -q up "$base_dir/.."
|
||||
fi
|
||||
|
||||
exec python "$base_dir/../gclient.py" "$@"
|
Loading…
Reference in New Issue