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.
`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> |
2 months ago | |
---|---|---|
.. | ||
gerrit_util_test.inputs | 11 months ago | |
git_common_test.inputs | 6 months ago | |
gstools | 1 year ago | |
split_cl_test.inputs | 3 months ago | |
.vpython3 | 11 months ago | |
OWNERS | 7 months ago | |
auth_test.py | 2 years ago | |
autoninja_test.py | 5 months ago | |
bazel_test.py | 2 years ago | |
bot_update_coverage_test.py | 1 year ago | |
build_telemetry_test.py | 8 months ago | |
cipd_bootstrap_test.py | 1 year ago | |
detect_host_arch_test.py | 1 year ago | |
download_from_google_storage_unittest.py | 1 year ago | |
fetch_test.py | 2 years ago | |
gclient_cipd_smoketest.py | 2 years ago | |
gclient_eval_unittest.py | 11 months ago | |
gclient_gcs_smoketest.py | 1 year ago | |
gclient_git_mutates_smoketest.py | 2 years ago | |
gclient_git_smoketest.py | 7 months ago | |
gclient_no_sync_smoketest.py | 2 years ago | |
gclient_paths_test.py | 2 years ago | |
gclient_scm_test.py | 8 months ago | |
gclient_smoketest.py | 2 years ago | |
gclient_smoketest_base.py | 1 year ago | |
gclient_test.py | 1 year ago | |
gclient_transitions_smoketest.py | 1 year ago | |
gclient_utils_test.py | 4 months ago | |
gerrit_client_test.py | 4 months ago | |
gerrit_util_test.py | 6 months ago | |
git_auth_test.py | 4 months ago | |
git_cache_test.py | 1 year ago | |
git_cl_creds_check_report.txt | ||
git_cl_test.py | 3 months ago | |
git_common_test.py | 3 months ago | |
git_dates_test.py | 2 years ago | |
git_find_releases_test.py | 9 months ago | |
git_footers_test.py | 5 months ago | |
git_hyper_blame_test.py | 1 year ago | |
git_map_test.py | 2 years ago | |
git_number_test.py | 9 months ago | |
git_rebase_update_test.py | 3 months ago | |
git_squash_branch_test.py | 3 months ago | |
git_squash_branch_tree_test.py | 10 months ago | |
gn_helper_test.py | 5 months ago | |
gsutil_test.py | 2 years ago | |
hooks_test.py | 2 years ago | |
lockfile_test.py | 1 year ago | |
metrics_test.py | 9 months ago | |
metrics_xml_format_test.py | 5 months ago | |
my_activity_test.py | 2 years ago | |
ninjalog_uploader_test.py | 8 months ago | |
owners_client_test.py | 2 years ago | |
owners_finder_test.py | 2 years ago | |
presubmit_canned_checks_test.py | 7 months ago | |
presubmit_diff_test.py | 4 months ago | |
presubmit_support_test.py | 3 months ago | |
presubmit_unittest.py | 3 months ago | |
rdb_wrapper_test.py | 2 years ago | |
recipes_test.py | 1 year ago | |
reclient_helper_test.py | 10 months ago | |
roll_dep_test.py | 3 months ago | |
roll_downstream_gcs_deps_test.py | 8 months ago | |
scm_mock.py | 9 months ago | |
scm_unittest.py | 7 months ago | |
split_cl_test.py | 2 months ago | |
subcommand_test.py | 2 years ago | |
subprocess2_test.py | 1 year ago | |
upload_to_google_storage_first_class_unittest.py | 1 year ago | |
upload_to_google_storage_unittest.py | 2 years ago | |
utils_test.py | 11 months ago | |
watchlists_unittest.py | 2 years ago |