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

Unified Diff: update_depot_tools

Issue 1073113004: Added an env variable to hide "Depot tools has been updated..." message (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_depot_tools
diff --git a/update_depot_tools b/update_depot_tools
index 7c1212251760d5b2e45b98e93c6a3a60496d6ba6..8528b8bab511e07099a54542c43aac3e58b1f508 100755
--- a/update_depot_tools
+++ b/update_depot_tools
@@ -146,7 +146,9 @@ then
"$SVN" -q up "$base_dir"
AFTER_REVISION=$(get_svn_revision)
if [[ "$BEFORE_REVISION" != "$AFTER_REVISION" ]]; then
- echo "Depot Tools has been updated to revision $AFTER_REVISION." 1>&2
+ if [ -z "$DEPOT_TOOLS_HIDE_UPDATED_MESSAGE" ]; then
+ echo "Depot Tools has been updated to revision $AFTER_REVISION." 1>&2
+ fi
fi
fi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698