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

Unified Diff: commit_queue.bat

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 | « commit_queue ('k') | third_party/cq_client/cq_pb2.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit_queue.bat
diff --git a/commit_queue.bat b/commit_queue.bat
index 5f6baa3798c6121f27adf25c4364247fa407a5e0..76018a67d064bdbdc0e4a19e1a1ac0b5035cf9c8 100755
--- a/commit_queue.bat
+++ b/commit_queue.bat
@@ -7,5 +7,8 @@ setlocal
:: This is required with cygwin only.
PATH=%~dp0;%PATH%
+:: Synchronize the root directory before deferring control back to gclient.py.
+call "%~dp0\update_depot_tools.bat" %*
+
:: Defer control.
-%~dp0python "%~dp0\commit_queue.py" %*
+%~dp0\ENV\bin\python "%~dp0\commit_queue.py" %*
« no previous file with comments | « commit_queue ('k') | third_party/cq_client/cq_pb2.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698