From 080f37c152e5518b5345f84dac97f3272c23c0a8 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Mon, 16 Jan 2012 14:20:01 +0000 Subject: [PATCH] Send an IM when gcl commit --no_presubmit is used R=cmp@chromium.org BUG=25940 TEST= Review URL: http://codereview.chromium.org/9211013 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@117851 0039d316-1c4b-4281-b951-d872f2087c98 --- gcl.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcl.py b/gcl.py index 77b3ae972..a5a56d17a 100755 --- a/gcl.py +++ b/gcl.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2011 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -755,6 +755,10 @@ def GenerateDiff(files): def OptionallyDoPresubmitChecks(change_info, committing, args): if FilterFlag(args, "--no_presubmit") or FilterFlag(args, "--force"): + breakpad.SendStack( + 'GclHooksBypassedCommit', + 'Issue %s/%s bypassed hook when committing' % + (change_info.rietveld, change_info.issue)) return presubmit_support.PresubmitOutput() return DoPresubmitChecks(change_info, committing, True)