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

Unified Diff: gclient.py

Issue 10750007: [depot_tools] Allow gclient runhooks to work offline w/safesync_url. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 5 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: gclient.py
diff --git a/gclient.py b/gclient.py
index 52dfb68812f5d2507c1c0297a7305c88adff38a7..477d0e02c0fbd190a54e542d64690a74ae2cb0a5 100644
--- a/gclient.py
+++ b/gclient.py
@@ -1007,7 +1007,7 @@ solutions = [
revision_overrides = {}
# It's unnecessary to check for revision overrides for 'recurse'.
# Save a few seconds by not calling _EnforceRevisions() in that case.
- if command is not 'recurse':
+ if command not in ('diff', 'status', 'recurse', 'revinfo', 'runhooks'):
M-A Ruel 2012/07/09 19:45:17 I'm not 100% about revinfo, so let's remove it.
Dan Beam 2012/07/09 20:59:51 Done.
revision_overrides = self._EnforceRevisions()
pm = None
# Disable progress for non-tty stdout.
« 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