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

Unified Diff: git_cl.py

Issue 9112039: Send an IM when hooks are bypassed to commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 11 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: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index 759caf6a87c7e48c380d954d4d39c1ff52c9a758..eb93403f7af2249590a9eda02dfd23d1c488804b 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1094,6 +1094,11 @@ def SendUpstream(parser, args, cmd):
elif 'unknown' == status:
print ('Unable to determine tree status. Please verify manually and '
'use "git cl dcommit -f" to commit on a closed tree.')
+ else:
+ breakpad.SendStack(
+ 'GitClHooksBypassedCommit',
+ 'Issue %s/%s bypassed hook when committing' %
+ (cl.GetRietveldServer(), cl.GetIssue()))
description = options.message
if not description and cl.GetIssue():
« 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