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

Unified Diff: revert.py

Issue 115053: Don't run presubmit scripts when reverting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 11 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: revert.py
===================================================================
--- revert.py (revision 15461)
+++ revert.py (working copy)
@@ -216,7 +216,7 @@
description=description, files=files_status)
change_info.Save()
- upload_args = ['-r', ",".join(reviewers)]
+ upload_args = ['--no_presubmit', '-r', ",".join(reviewers)]
if send_email:
upload_args.append('--send_mail')
if commit:
@@ -225,7 +225,7 @@
retcode = 0
if commit:
- gcl.Commit(change_info, ['--force'])
+ gcl.Commit(change_info, ['--no_presubmit', '--force'])
# TODO(maruel): gclient sync (to leave the local checkout in an usable
# state)
retcode = gclient.Main(["gclient.py", "sync"])
« 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