diff --git a/owners_client.py b/owners_client.py index 90de55499..cf5fb3c19 100644 --- a/owners_client.py +++ b/owners_client.py @@ -182,4 +182,5 @@ def GetCodeOwnersClient(host, project, branch): raise Exception( 'code-owners plugin is not enabled. Ask your host admin to enable it ' 'on %s. Read more about code-owners at ' - 'https://gerrit.googlesource.com/plugins/code-owners.' % host) + 'https://chromium-review.googlesource.com/' + 'plugins/code-owners/Documentation/index.html.' % host) diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index 6a132f77d..8dc3012fd 100644 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -1343,7 +1343,8 @@ def CheckOwnersFormat(input_api, output_api): output_api.PresubmitError( 'code-owners is not enabled. Ask your host enable it on your gerrit ' 'host. Read more about code-owners at ' - 'https://gerrit.googlesource.com/plugins/code-owners.') + 'https://chromium-review.googlesource.com/' + 'plugins/code-owners/Documentation/index.html.') ] @@ -1363,7 +1364,8 @@ def CheckOwners( output_api.PresubmitError( 'code-owners is not enabled. Ask your host enable it on your gerrit ' 'host. Read more about code-owners at ' - 'https://gerrit.googlesource.com/plugins/code-owners.') + 'https://chromium-review.googlesource.com/' + 'plugins/code-owners/Documentation/index.html.') ]