Commit ccde1c92 authored by maruel@chromium.org's avatar maruel@chromium.org

Write the command to execute in the error message so people don't have to learn how svn works.

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/126050

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18273 0039d316-1c4b-4281-b951-d872f2087c98
parent 8d5c9a5a
......@@ -194,10 +194,12 @@ def CheckChangeSvnEolStyle(input_api, output_api, source_file_filter=None):
if bad:
if input_api.is_committing:
return [output_api.PresubmitError(
"Fix these files with svn svn:eol-style=LF", items=bad)]
"Run `svn pset svn:eol-style LF <item>` on these files:",
items=bad)]
else:
return [output_api.PresubmitNotifyResult(
"Fix these files with svn svn:eol-style=LF", items=bad)]
"Run `svn pset svn:eol-style LF <item>` on these files:",
items=bad)]
return []
......
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