You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
When a recursive dependency has use_relative_paths it also makes sense to have the hooks working directory by the dependency's directory. Otherwise if a hook uses one of the relative dependencies it is impossible to know which path prefix to use. However we cannot change the behavior of hooks with use_relative_paths because it would break existing projects that use_relative_paths but hardcoded the prefix for hooks. Instead we add a second boolean, use_relative_hooks that triggers the behavior. Adds tests for the new behavior and a test for existing interactio between hooks and recursedeps. BUG=chromium:875245 Change-Id: Ie4c526baa425ff887b3be54e0feca7c597ededec Reviewed-on: https://chromium-review.googlesource.com/1213327 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> |
7 years ago | |
---|---|---|
.. | ||
__init__.py | ||
auto_stub.py | ||
cipd | 7 years ago | |
cipd.bat | 7 years ago | |
coverage_utils.py | 8 years ago | |
fake_cipd.py | 7 years ago | |
fake_repos.py | 7 years ago | |
filesystem_mock.py | ||
gerrit-init.sh | ||
gerrit_test_case.py | 8 years ago | |
git_test_utils.py | 7 years ago | |
patches_data.py | ||
super_mox.py | 8 years ago | |
trial_dir.py |