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.
Previously if you deleted a file that you had per-file owners on, it would fail the owners check. This fixes that. Originally, owners.Database used glob to enumerate the directory and added all the matching files in the directory to some dicts holding the owners information. If a CL deleted a file, it'd no longer be on the filesystem, so it wouldn't be in these dicts. There'd be no per-file owners information for it. With this patch, the Database no longer enumerates individual files. It instead keeps track of the glob patterns and checks the CL's files against the patterns at lookup time. BUG=622381 TEST=tests/owners_unittest.py && tests/owners_finder_test.py # Unit test included. Review-Url: https://codereview.chromium.org/2148153002 |
9 years ago | |
---|---|---|
.. | ||
gstools | 12 years ago | |
subversion_config | 9 years ago | |
abandon.sh | 10 years ago | |
basic.sh | 9 years ago | |
checkout_test.py | 9 years ago | |
download_from_google_storage_unittests.py | 10 years ago | |
fix_encoding_test.py | 14 years ago | |
gclient_scm_test.py | 9 years ago | |
gclient_smoketest.py | 9 years ago | |
gclient_test.py | 9 years ago | |
gclient_utils_test.py | 11 years ago | |
git_cache_test.py | 10 years ago | |
git_cl_test.py | 9 years ago | |
git_common_test.py | 9 years ago | |
git_dates_test.py | 9 years ago | |
git_drover_test.py | 9 years ago | |
git_footers_test.py | 9 years ago | |
git_hyper_blame_test.py | 9 years ago | |
git_number_test.py | 10 years ago | |
git_rebase_update_test.py | 10 years ago | |
gsutil_test.py | 10 years ago | |
hooks.sh | 11 years ago | |
owners.sh | 10 years ago | |
owners_finder_test.py | 9 years ago | |
owners_unittest.py | 9 years ago | |
patch.sh | 10 years ago | |
patch_test.py | 13 years ago | |
post-dcommit-hook-test.sh | 10 years ago | |
presubmit_unittest.py | 9 years ago | |
push-basic.sh | 9 years ago | |
push-from-logs.sh | 10 years ago | |
recipes_test.py | 10 years ago | |
rename.sh | 10 years ago | |
rietveld_test.py | 9 years ago | |
sample_pre_commit_hook | 14 years ago | |
save-description-on-failure.sh | 10 years ago | |
scm_unittest.py | 10 years ago | |
submit-from-new-dir.sh | 10 years ago | |
submodule-merge-test.sh | 10 years ago | |
subprocess2_test.py | 12 years ago | |
test-lib.sh | 11 years ago | |
trychange_unittest.py | 9 years ago | |
upload-local-tracking-branch.sh | 10 years ago | |
upload-stale.sh | 10 years ago | |
upload_to_google_storage_unittests.py | 10 years ago | |
upstream.sh | 11 years ago | |
watchlists_unittest.py | 14 years ago |