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 | |
---|---|---|
.. | ||
gstools | 12 years ago | |
auth_test.py | 7 years ago | |
bot_update_coverage_test.py | 7 years ago | |
checkout_test.py | 8 years ago | |
cipd_bootstrap_test.py | 7 years ago | |
download_from_google_storage_unittest.py | 7 years ago | |
fix_encoding_test.py | ||
gclient_eval_unittest.py | 7 years ago | |
gclient_scm_test.py | 7 years ago | |
gclient_smoketest.py | 7 years ago | |
gclient_test.py | 7 years ago | |
gclient_utils_test.py | 8 years ago | |
git_cache_test.py | 7 years ago | |
git_cl_creds_check_report.txt | 8 years ago | |
git_cl_test.py | 7 years ago | |
git_common_test.py | 7 years ago | |
git_dates_test.py | 9 years ago | |
git_drover_test.py | 8 years ago | |
git_footers_test.py | 7 years ago | |
git_hyper_blame_test.py | 7 years ago | |
git_number_test.py | 10 years ago | |
git_rebase_update_test.py | 10 years ago | |
gsutil_test.py | 8 years ago | |
metrics_test.py | 7 years ago | |
owners_finder_test.py | 7 years ago | |
owners_unittest.py | 7 years ago | |
patch_test.py | ||
presubmit_unittest.py | 7 years ago | |
recipes_test.py | 8 years ago | |
roll_dep_test.py | 7 years ago | |
scm_unittest.py | 7 years ago | |
subprocess2_test.py | 9 years ago | |
upload_to_google_storage_unittest.py | 8 years ago | |
watchlists_unittest.py | 9 years ago |