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"]) |