--bypass-hooks should bypass all checks, including descriptions checks.

(Adding this after the pretty bad build bustage today.)


Review URL: https://chromiumcodereview.appspot.com/10891039

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@153966 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
erg@chromium.org 13 years ago
parent 38ab82d6d8
commit 1a17398a93

@ -1254,6 +1254,9 @@ def SendUpstream(parser, args, cmd):
description = cl.GetDescription() description = cl.GetDescription()
if not description: if not description:
if not cl.GetIssue() and options.bypass_hooks:
description = CreateDescriptionFromLog([base_branch])
else:
print 'No description set.' print 'No description set.'
print 'Visit %s/edit to set it.' % (cl.GetIssueURL()) print 'Visit %s/edit to set it.' % (cl.GetIssueURL())
return 1 return 1

Loading…
Cancel
Save