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

Unified Diff: gclient.py

Issue 1160113003: Treat 'revert' like 'update' in gclient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 5 years, 7 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 21335ce1ae49e1d5b7202ff1ee823e589edf5f41..8de7e52df8f4702a37d9bfd5e6632a29ec209c1b 100755
--- a/gclient.py
+++ b/gclient.py
@@ -1502,7 +1502,7 @@ been automagically updated. The previous version is available at %s.old.
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 not in ('diff', 'recurse', 'runhooks', 'status'):
+ if command not in ('diff', 'recurse', 'runhooks', 'status', 'revert'):
self._CheckConfig()
revision_overrides = self._EnforceRevisions()
pm = None
« 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