Commit 3addce30 authored by ilevy@chromium.org's avatar ilevy@chromium.org

Exclude some gclient commands from auto-update

In an effort to make some local commands faster, I propose we
exclude them from network dependent update step.

R=maruel@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11312143

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@166793 0039d316-1c4b-4281-b951-d872f2087c98
parent 44b21b9d
......@@ -5,6 +5,8 @@
base_dir=$(dirname "$0")
"$base_dir"/update_depot_tools
if ! [[ "grep fetch cleanup diff" =~ "$1" ]]; then
"$base_dir"/update_depot_tools
fi
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gclient.py" "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment