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

Unified Diff: commit_queue

Issue 1195423002: Use virtualenv to run commit_queue script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Update depot_tools before running commit_queue binary Created 5 years, 6 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 | commit_queue.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit_queue
diff --git a/commit_queue b/commit_queue
index db8b9048ee8382dfdd2792fae5649db1247bf423..a634371f869ed0f23064d310eeb9e945bc07af25 100755
--- a/commit_queue
+++ b/commit_queue
@@ -5,4 +5,8 @@
base_dir=$(dirname "$0")
-PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/commit_queue.py" "$@"
+if [[ "#grep#fetch#cleanup#diff#" != *"#$1#"* ]]; then
+ "$base_dir"/update_depot_tools "$@"
+fi
+
+PYTHONDONTWRITEBYTECODE=1 exec "$base_dir/ENV/bin/python" "$base_dir/commit_queue.py" "$@"
« no previous file with comments | « no previous file | commit_queue.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698