Gerrit git cl land: tell user how to abort.

R=friedman@chromium.org,andybons@chromium.org
BUG=665623

Change-Id: I419c6c01839fd761b1941fdf002fe39769cc1e17
Reviewed-on: https://chromium-review.googlesource.com/411761
Reviewed-by: Aaron Gable <agable@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
changes/61/411761/2
Andrii Shyshkalov 9 years ago committed by Commit Bot
parent fad941ba3d
commit 3aac775665

@ -2538,7 +2538,8 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase):
if differs: if differs:
if not force: if not force:
ask_for_data( ask_for_data(
'Do you want to submit latest Gerrit patchset and bypass hooks?') 'Do you want to submit latest Gerrit patchset and bypass hooks?\n'
'Press Enter to continue, Ctrl+C to abort.')
print('WARNING: bypassing hooks and submitting latest uploaded patchset') print('WARNING: bypassing hooks and submitting latest uploaded patchset')
elif not bypass_hooks: elif not bypass_hooks:
hook_results = self.RunHook( hook_results = self.RunHook(

Loading…
Cancel
Save