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

Unified Diff: presubmit_canned_checks.py

Issue 313523002: Improved message when CL description is missing (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 7 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: presubmit_canned_checks.py
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py
index 56031b2c9828dfdfa9b82329751320e4f884b4c5..8be4f52971c6849d2b7122a4d94fb140a0354dd0 100644
--- a/presubmit_canned_checks.py
+++ b/presubmit_canned_checks.py
@@ -61,9 +61,9 @@ def CheckChangeHasDescription(input_api, output_api):
text = input_api.change.DescriptionText()
if text.strip() == '':
if input_api.is_committing:
- return [output_api.PresubmitError('Add a description.')]
+ return [output_api.PresubmitError('Add a description to the CL.')]
else:
- return [output_api.PresubmitNotifyResult('Add a description.')]
+ return [output_api.PresubmitNotifyResult('Add a description to the CL.')]
return []
« 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