diff --git a/gclient.py b/gclient.py index d678f3c1e..833ffd973 100755 --- a/gclient.py +++ b/gclient.py @@ -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: