| Index: components/policy/resources/PRESUBMIT.py
|
| diff --git a/components/policy/resources/PRESUBMIT.py b/components/policy/resources/PRESUBMIT.py
|
| index b59e8d3504f25bd5b355e988053a69bee0ebc045..b3264a1c680101f1a8844d25c1edb7789bb1523e 100644
|
| --- a/components/policy/resources/PRESUBMIT.py
|
| +++ b/components/policy/resources/PRESUBMIT.py
|
| @@ -90,7 +90,9 @@ def _CheckPolicyHistograms(input_api, output_api, policies):
|
|
|
| error_missing = ('Policy \'%s\' was added to policy_templates.json but not '
|
| 'to src/tools/metrics/histograms/histograms.xml. '
|
| - 'Please update both files.')
|
| + 'Please update both files. To regenerate the policy part '
|
| + 'of histograms.xml, run:\n'
|
| + 'python tools/metrics/histograms/update_policies.py')
|
| results = []
|
| for policy in policies:
|
| if policy['id'] not in policy_ids:
|
|
|