Commit 33e6e046 authored by Corentin Wallez's avatar Corentin Wallez Committed by LUCI CQ

gclient: print use_relative_hooks deprecation on stderr.

Printing to stdout breaks tools that parse the output of running
gclient.

TBR=ehmaldonado@chromium.org
Bug: chromium:1107325
Bug: chromium:1108301
Change-Id: I77f6eef9bdffd0534efb0b919304dab5b3df8c14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2312678
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
parent c07c59dd
......@@ -795,7 +795,7 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
# compute which working directory should be used for hooks
if local_scope.get('use_relative_hooks', False):
print('use_relative_hooks is deprecated, please remove it from DEPS. ' +
'(it was merged in use_relative_paths)')
'(it was merged in use_relative_paths)', file=sys.stderr)
hooks_cwd = self.root.root_dir
if self._use_relative_paths:
......
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