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
Josip Sokcevic 8281847e05 [scm] Run remote set-head if symbolic-ref fails
If symbolic-ref remote HEAD is not available, we skip setting it and
query remote Git using ls-remote. Such information is not stored, and
gclient will need to repeat it on the next invocation.

Instead, we can call set-head on symbolic-ref failure. While that's
slower operation than ls-remote, it saved in internal Git database and
can be reused on next gclient invocation.

We may be okay with hardcoding 'main' as default remote branch today,
but it's possible that some projects still use old default.

R=gavinmak@google.com

Change-Id: Ic4c826b888d96e367039bfc4b9bd2ba0d8b58b52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5492789
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Gavin Mak <gavinmak@google.com>
10 months ago
..
gstools Upload script for first class gcs deps 11 months ago
OWNERS
auth_test.py
autoninja_test.py autoninja: remove goma references from autoninja 11 months ago
bazel_test.py
bot_update_coverage_test.py
cipd_bootstrap_test.py
detect_host_arch_test.py
download_from_google_storage_unittest.py Upload script for first class gcs deps 11 months ago
fetch_test.py
gclient_cipd_smoketest.py
gclient_eval_unittest.py
gclient_gcs_smoketest.py Make the downloaded tarfile a dotfile 11 months ago
gclient_git_mutates_smoketest.py
gclient_git_smoketest.py
gclient_no_sync_smoketest.py
gclient_paths_test.py
gclient_scm_test.py [scm] Run remote set-head if symbolic-ref fails 10 months ago
gclient_smoketest.py
gclient_smoketest_base.py
gclient_test.py
gclient_transitions_smoketest.py
gclient_utils_test.py
gerrit_client_test.py [gerrit_client] Fix test to not hit real gerrit service. 11 months ago
gerrit_util_test.py Reland "Update gclient to use git config caching" 1 year ago
git_cache_test.py [git_cache] support ssh url 11 months ago
git_cl_creds_check_report.txt
git_cl_test.py Support --target_branch=refs/meta/config branch 10 months ago
git_common_test.py Reland "Update gclient to use git config caching" 1 year ago
git_dates_test.py
git_find_releases_test.py
git_footers_test.py
git_hyper_blame_test.py
git_map_test.py
git_migrate_default_branch_test.py
git_number_test.py
git_rebase_update_test.py
gsutil_test.py
hooks_test.py
lockfile_test.py
metrics_test.py
my_activity_test.py
ninja_reclient_test.py Change source of hash for reproxy socket. 1 year ago
ninjalog_uploader_test.py
owners_client_test.py
owners_finder_test.py
presubmit_canned_checks_test.py
presubmit_diff_test.py Handle diff without chunk header 11 months ago
presubmit_support_test.py Add --generate_diff flag to presubmit_support.py 12 months ago
presubmit_unittest.py Make CheckChangedLUCIConfigs work on non-git workspace 10 months ago
rdb_wrapper_test.py
recipes_test.py Support recipes_test.py in non-git workspace 1 year ago
reclient_metrics_test.py
roll_dep_test.py Hide git log by default if rolling from a non-public host 11 months ago
scm_unittest.py [scm] Run remote set-head if symbolic-ref fails 10 months ago
split_cl_test.py
subcommand_test.py
subprocess2_test.py
upload_to_google_storage_first_class_unittest.py Add generation version number to GCS first-class entries. 11 months ago
upload_to_google_storage_unittest.py
utils_test.py
watchlists_unittest.py