Commit 93276ab2 authored by scheib@chromium.org's avatar scheib@chromium.org

Suggest interactive owners tool when suggesting owners.

Review URL: https://codereview.chromium.org/27269002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@228565 0039d316-1c4b-4281-b951-d872f2087c98
parent 4d3ed59a
......@@ -823,8 +823,9 @@ def CheckOwners(input_api, output_api, source_file_filter=None,
(needed, '\n '.join(sorted(missing_files))))]
if not input_api.is_committing:
suggested_owners = owners_db.reviewers_for(missing_files, owner_email)
output_list.append(output('Suggested OWNERS:\n %s' %
('\n '.join(suggested_owners or []))))
output_list.append(output('Suggested OWNERS: ' +
'(Use "git-cl owners" to interactively select owners.)\n %s' %
('\n '.join(suggested_owners or []))))
return output_list
if input_api.is_committing and not reviewers:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment