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.
depot_tools/tests
Gavin Mak 8ac3425344 Create scm.DIFF.GetAllFiles
For a ProvidedDiffChange, the AllFiles method naively returns all files
with rglob("*"). The returned list includes files in nested submodules.
This does not match the behavior of GitChange's AllFiles which uses
git ls-files to find all files.

Implement a new SCM that stops iterating recursively when it
sees a submodule from .gitmodules in the repo root.

Bug: b/323243527
Change-Id: I170d0f1bc4a838acea04779dee3df7fca0bce359
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5648616
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Gavin Mak <gavinmak@google.com>
1 year ago
..
gerrit_util_test.inputs
gstools
.vpython3
OWNERS
auth_test.py [auth] Be able to generate id_token 2 years ago
autoninja_test.py
bazel_test.py
bot_update_coverage_test.py Fix multiline comment formatting 2 years ago
cipd_bootstrap_test.py
detect_host_arch_test.py
download_from_google_storage_unittest.py
fetch_test.py
gclient_cipd_smoketest.py
gclient_eval_unittest.py run tests using python 3.8 1 year ago
gclient_gcs_smoketest.py
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py
gclient_no_sync_smoketest.py
gclient_paths_test.py Cache values in gclient_paths.py 2 years ago
gclient_scm_test.py
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py Fix multiline comment formatting 2 years ago
gclient_transitions_smoketest.py
gclient_utils_test.py [gclient] Use lowercase and when merging conditions 1 year ago
gerrit_client_test.py
gerrit_util_test.py
git_cache_test.py [git_cache] support ssh url 1 year ago
git_cl_creds_check_report.txt
git_cl_test.py
git_common_test.py
git_dates_test.py
git_find_releases_test.py tests: switch to 4 space indent 2 years ago
git_footers_test.py tests: switch to 4 space indent 2 years ago
git_hyper_blame_test.py
git_map_test.py tests: switch to 4 space indent 2 years ago
git_number_test.py tests: switch to 4 space indent 2 years ago
git_rebase_update_test.py tests: switch to 4 space indent 2 years ago
gsutil_test.py [gsutil.py] Skip luci-auth wrapper on unsupported platforms 2 years ago
hooks_test.py Require prompt from users to confirm submodules commit. 2 years ago
lockfile_test.py
metrics_test.py
my_activity_test.py
ninja_reclient_test.py
ninjalog_uploader_test.py
owners_client_test.py
owners_finder_test.py
presubmit_canned_checks_test.py
presubmit_diff_test.py
presubmit_support_test.py Handle empty diff in _diffs_to_change_files 1 year ago
presubmit_unittest.py
rdb_wrapper_test.py
recipes_test.py
reclient_metrics_test.py tests: switch to 4 space indent 2 years ago
roll_dep_test.py Hide git log by default if rolling from a non-public host 1 year ago
scm_unittest.py Create scm.DIFF.GetAllFiles 1 year ago
split_cl_test.py split_cl: do not prepend '/' in $directory 1 year ago
subcommand_test.py tests: switch to 4 space indent 2 years ago
subprocess2_test.py Fix multiline comment formatting 2 years ago
upload_to_google_storage_first_class_unittest.py
upload_to_google_storage_unittest.py Remove last py2 workarounds 2 years ago
utils_test.py Use $HOME/.config/depot_tools on linux for .cfg files 1 year ago
watchlists_unittest.py