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

Unified Diff: git_cl.py

Issue 1683173002: Revert of Finally get rid of depot_tools' breakpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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 | « gclient.py ('k') | git_try.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 46e60fb203b1abca7fb267b1d16956757d91121f..5b5872bbd0db18d96faaeabdd00033d8a13aac8b 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -40,6 +40,7 @@
from third_party import upload
import auth
from luci_hacks import trigger_luci_job as luci_trigger
+import breakpad # pylint: disable=W0611
import clang_format
import commit_queue
import dart_format
@@ -2618,6 +2619,12 @@
print('Unable to determine tree status. Please verify manually and '
'use "git cl %s --bypass-hooks" to commit on a closed tree.' % cmd)
return 1
+ else:
+ breakpad.SendStack(
+ 'GitClHooksBypassedCommit',
+ 'Issue %s/%s bypassed hook when committing (tree status was "%s")' %
+ (cl.GetRietveldServer(), cl.GetIssue(), GetTreeStatus()),
+ verbose=False)
change_desc = ChangeDescription(options.message)
if not change_desc.description and cl.GetIssue():
« no previous file with comments | « gclient.py ('k') | git_try.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698