Commit 4e6264cc authored by Joanna Wang's avatar Joanna Wang Committed by LUCI CQ

[gclient] Specify which DEPS is still using `use_relative_hooks`.

Bug:1107325, 1340011
Change-Id: I90bce90cba2ccf2a37b703b9bad49b5f79cfde33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3738359Reviewed-by: 's avatarAravind Vasudevan <aravindvasudev@google.com>
Commit-Queue: Joanna Wang <jojwang@chromium.org>
parent 0e5881fb
......@@ -823,8 +823,9 @@ 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)', file=sys.stderr)
print('use_relative_hooks is deprecated, please remove it from '
'%s DEPS. (it was merged in use_relative_paths)' % self.name,
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