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
Devon Loehr c994f00dee [git cl split] Codify and enforce auto-resumption
`git cl split` claims to have built-in auto-resume capabilities, but
the nondeterminism in its splitting algorithm means they don't work
in practice. Now that we have the ability to load splittings from
files, we can ensure the user is using the same splitting as before,
and resume safely.

This CL does two things:
- It checks that any existing split branches match the splitting we're
  about to upload, and complains if they don't match. This relies on
  the fact that our branch names are unique and deterministic.
- It changes the auto-resume message to mention that --from-file is
  required, and includes the relevant filename. This requires tracking
  that filename from earlier in the program.

Bug: 389069356
Change-Id: Ic1d8964e96193ca93e05a9a39e286b84ffb61b06
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6280953
Commit-Queue: Devon Loehr <dloehr@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
10 months ago
..
gerrit_util_test.inputs
git_common_test.inputs Prefer direct git installation for Windows 1 year ago
gstools
split_cl_test.inputs `git cl split`: Save and load splittings from files 11 months ago
.vpython3
OWNERS Remove brucedawson@ from some depot_tools OWNERS files 1 year ago
auth_test.py
autoninja_test.py autoninja: use build/toolchain/use_reclient_value.py 1 year ago
bazel_test.py
bot_update_coverage_test.py
build_telemetry_test.py build_telemetry: Set timeout to 'cipd auth-info' command. 1 year 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
gclient_gcs_smoketest.py
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py Update CMDgitmodules to set `gclient-recursedeps` in .gitmodules file. 1 year ago
gclient_no_sync_smoketest.py
gclient_paths_test.py
gclient_scm_test.py Avoid silently overwriting diff.ignoreSubmodules config. 1 year ago
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py
gclient_transitions_smoketest.py
gclient_utils_test.py Explicitly propagate terminal size to gclient hooks. 12 months ago
gerrit_client_test.py gerrit: addmessage: support attention set control 12 months ago
gerrit_util_test.py [git-sso] Read sso helper output line by line 1 year ago
git_auth_test.py [auth] Add test for overwriting global SSO rewrite rules 11 months ago
git_cache_test.py
git_cl_creds_check_report.txt
git_cl_test.py Add git cl squash-closed behavior 11 months ago
git_common_test.py Modify git squash-branch to perform reparenting 11 months ago
git_dates_test.py
git_find_releases_test.py Skip tests not supported in non-git env if in non-git env 1 year ago
git_footers_test.py [git_footers] add support for multiline footers 1 year ago
git_hyper_blame_test.py
git_map_test.py
git_number_test.py Revert "[git-number] Remove unused git-number script." 1 year ago
git_rebase_update_test.py Colorize branch names for rebase-update 10 months ago
git_squash_branch_test.py Modify git squash-branch to perform reparenting 11 months ago
git_squash_branch_tree_test.py Add git squash-branch-tree 2 years ago
gn_helper_test.py gn_helper: find correct directory for // 1 year ago
gsutil_test.py
hooks_test.py
lockfile_test.py
metrics_test.py [metrics] Add new auth metric 1 year ago
metrics_xml_format_test.py Reland "Support formatting metrics xml(s) in the subfolders." 1 year ago
my_activity_test.py
ninjalog_uploader_test.py ninjalog_uploader: Add is_cloudtop, gce_machine_type, is_cog to the Ninjalog metadata 1 year ago
owners_client_test.py
owners_finder_test.py
presubmit_canned_checks_test.py allow comment lines in inclusive_language_presubmit_exempt_dirs.txt 1 year ago
presubmit_diff_test.py presubmit_diff: add support for -U 12 months ago
presubmit_support_test.py Add UnixLocalPath*() in presubmit_support. 11 months ago
presubmit_unittest.py Revert "Add AffectedFile.Extension() in presubmit_support" 11 months ago
rdb_wrapper_test.py
recipes_test.py
reclient_helper_test.py autoninja: Use AUTONINJA_BUILD_ID for RBE_invocation_id as is. 1 year ago
roll_dep_test.py Fix roll_dep_test.py 11 months ago
roll_downstream_gcs_deps_test.py Update roll_downstream_gcs_deps to take a list of source and destination packages. 1 year ago
scm_mock.py [scm_mock] Expose mocking of system config layer. 1 year ago
scm_unittest.py [scm] Handle empty .gitmodules file 1 year ago
split_cl_test.py [git cl split] Codify and enforce auto-resumption 10 months ago
subcommand_test.py
subprocess2_test.py
upload_to_google_storage_first_class_unittest.py
upload_to_google_storage_unittest.py
utils_test.py
watchlists_unittest.py