--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,9 +1254,12 @@ def SendUpstream(parser, args, cmd):
description = cl.GetDescription()
if not description:
print 'No description set.'
print 'Visit %s/edit to set it.' % (cl.GetIssueURL())
return 1
if not cl.GetIssue() and options.bypass_hooks:
description = CreateDescriptionFromLog([base_branch])
else:
print 'No description set.'
print 'Visit %s/edit to set it.' % (cl.GetIssueURL())
return 1
if cl.GetIssue():
description += "\n\nReview URL: %s" % cl.GetIssueURL()

Loading…
Cancel
Save